如何获取事件单击带有react-native-autoheight-webview的html中的img

时间:2018-07-13 07:46:51

标签: javascript html react-native

我需要在底部webview中添加一个视图,因此我使用react-native-autoheight-webview即可运行。 但是,如果在html中具有img标签,我需要获取事件单击img并且在使用react-native-autoheight-webview时无法执行此操作,如果使用react-native-webview-bridge-updated我可以将事件与{{ 1}},但是我不能在底部的webview中添加视图。 这是我的代码使用onBridgeMessage

react-native-autoheight-webview

请帮助我获取HTML中的事件单击img!非常感谢你!

0 个答案:

没有答案