Bachir Soussi Chiadmi 2abb12981c first round of dev | 9 lat temu | |
---|---|---|
.. | ||
.bower.json | 9 lat temu | |
README.md | 9 lat temu | |
bower.json | 9 lat temu | |
eventie.js | 9 lat temu | |
package.json | 9 lat temu |
Makes dealing with events in IE8 bearable. Supported by IE8+ and good browsers.
var elem = document.querySelector('#my-elem');
function onElemClick( event ) {
console.log( event.type + ' just happened on #' + event.target.id );
// -> click just happened on #my-elem
}
eventie.bind( elem, 'click', onElemClick );
eventie.unbind( elem, 'click', onElemClick );
Download eventie.js
Install with Bower :bird: bower install eventie
Install with npm :truck: npm install eventie
Install with Component :nut_and_bolt: component install desandro/eventie
eventie add support for event.target
and .handleEvent
method for Internet Explorer 8.
eventie is released under the MIT license.