node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

attachevent

This repository is no longer maintained.

Greenkeeper badge

attachevent

Polyfil for event handling when addEventListener isn't available

install

With npm do:

npm install attachevent

Usage

With browserify

var attachevent = require('attachevent');
 
attachevent.attachEvent(window, 'load', function load() {
  attachevent.detachEvent(load);
});
 

license

MIT