You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eventie

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventie

Event binding helper

1.0.6
latest
Source
npmnpm
Version published
Weekly downloads
11K
24.45%
Maintainers
1
Weekly downloads
 
Created
Source

eventie - event binding helper

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 );

Install

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

IE 8

eventie add support for event.target and .handleEvent method for Internet Explorer 8.

MIT license

eventie is released under the MIT license.

Keywords

DOM

FAQs

Package last updated on 05 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts