1.0.0 • Published 8 years ago
event-listeners v1.0.0
Event Listeners
Event Listeners are a polyfill for Event, CustomEvent, addEventListener, removeEventListener, dispatchEvent, and DOMContentLoaded.
document.addEventListener('DOMContentLoaded', function () {
// do stuff
});FAQ
What’s the browser support?
Event Listeners works all major 2014+ browsers and polyfills missing features in Firefox 6-10, Interet Explorer 8-11, Opera 10-11.5, and Safari 4-7.
What’s the catch?
Event Listeners is public domain, dependency free, and 1162 bytes when minified and gzipped.
1.0.0
8 years ago