Wondering what’s next for npm?Check out our public roadmap! »

    normalize-event

    0.0.0 • Public • Published

    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

    MIT

    Install

    npm i normalize-event

    DownloadsWeekly Downloads

    37

    Version

    0.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar