1.0.0 • Published 6 years ago

event-listeners v1.0.0

Weekly downloads
2
License
CC0-1.0
Repository
github
Last release
6 years ago

Event Listeners

NPM Version Build Status Licensing Changelog Gitter Chat

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.