element.addEventListener


Snippet Details

Shortcut
ev
Description
Add an event listener on a DOM element
Language
javascript
Types
Expansion
Author
Jeremie Corpinot
Upload on
11/1/2015 2:49:51 PM
Downloads
411

Declarations

ID ToolTip Default
element DOM element element
event DOM event event
callback callback function function (event) { }

Code Output

        $element$.addEventListener("$event$", $callback$);$end$
    

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages