Both onclick and addEventListener javascript function will work but sometimes it creates problem for developers to understand what the exact difference of these two's are. var h = ...
Polymer adds a null listener to the 'tap' event on document (something about enabling document-wide listeners): // enable document-wide tap recognizer if (event ...
It works passively, just include the script before anything that requires addEventListener and it will be available to use along with removeEventListener, DispatchEvent and the DOMContentloaded event.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results