Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

cheatsheet addeventlistener

object.addEventListener("click", function(){
    // do something
});
Source by shortcode.dev #
 
PREVIOUS NEXT
Tagged: #cheatsheet #addeventlistener
ADD COMMENT
Topic
Name
5+4 =