Created
October 19, 2022 14:27
-
-
Save dimonovdd/f2a565913a05c36f80f4f9de02410934 to your computer and use it in GitHub Desktop.
Sample Webview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@" | |
document.body.addEventListener('click', function(e) { | |
e = e || window.event; | |
var target = e.target || e.srcElement; | |
Native('invokeClick', 'tag='+target.tagName+' id='+target.id+' name='+target.name); | |
}, true /* to ensure we capture it first*/); | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment