Created
September 10, 2016 11:25
-
-
Save psycalc/aa888f193fc652602267d4049b1b637b to your computer and use it in GitHub Desktop.
event object target equalt this
This file contains hidden or 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
sometEventHandler (e) { | |
console.log(e.target === this); // true | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment