DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript call function from event handler es6
elem.addEventListener('click', (event) => ((that) => { console.log(event, that); })(this));
Source by www.mediaevent.de #
PREVIOUS
NEXT
Tagged:
#javascript
#call
#function
#event
#handler
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit