add-event-handler
v1.0.3
Published
Unifies adding event handlers across browsers
Downloads
7
Maintainers
Readme
add-event-handler
Unifies adding event handlers across browsers, whether they have Element.prototype.addEventListener
or Element.prototype.attachEvent
.
var add = require("add-event-handler");
add(element, type, handler);
Copyright 2015 PolicyStat LLC