0.0.0 • Published 10 years ago
normalize-event v0.0.0
normalize-event
normalize-event is a function that provides basic DOM Event support in IE8 and below.
Install
$ npm install normalize-event
Example
var normalize = require('normalize-event')
document.body.onclick = function(e) {
e = normalize(e)
e.preventDefault()
e.stopPropagation()
alert(e.target)
}
License
0.0.0
10 years ago