jsdf/react-native-htmlview

Get text of clicked links

abdeljabar opened this issue · 0 comments

I wonder if it is possible to do something like this. I would like to display the url inside a webview, but I can't get the title/text of the clicked anchor tag.

<HTMLView value={content ? content.rendered : ''} onLinkPress={(url, text) => { navigation.push(WEBVIEW, { url: url, title: text, }); }} />