Skip to content

jonathantneal/event-listeners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Create and trigger Events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published