Created
October 11, 2018 19:41
-
-
Save foleyatwork/5a47f512cd9824cdb7ca1e0a1a7509f0 to your computer and use it in GitHub Desktop.
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
var events = []; | |
for (var property in HTMLElement.prototype) { | |
var match = property.match(/^on(.*)/); | |
if (match) { | |
events.push(match[1]); | |
} | |
} | |
console.log(events.join(' ')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment