A JavaScript module allowing addition and removal of multiple events and callback handlers. Its most useful feature is the ability to keep track of attached event handlers. Multiple event handlers can be attached and removed to/from a specific event. The module allows removal of all event listeners at the same time for a specific event, or all listeners for all events, if the user so desires.
- Can be used with collections, or with a single DOM object.
- Works on older browsers.
This module was inspired by this answer at Stack Overflow: http://stackoverflow.com/a/4386514
A simple example using Event module can be seen here: http://codepen.io/zakirt/pen/tjkEg