Created
December 8, 2014 20:08
-
-
Save devdays/7ad9ca968498c2f57ffe to your computer and use it in GitHub Desktop.
Object JavaScript - Inside the eventListner
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
element.addEventListener('keydown', function (event) { | |
// `this` will point to `element` | |
}, false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment