Created
July 1, 2016 13:54
-
-
Save linclark/76f0c8e3fa821e4f4e94ef70df1b0d24 to your computer and use it in GitHub Desktop.
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
data:text/html;charset=utf-8,<div id="test">test</div><script>document.getElementById("test").addEventListener("click", function( event ) {event.target.innerHTML = "click count: " + event.detail; console.log(event)}, false);</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment