babel-plugin-transform-event
add support e.scrElement e.returnValue e.cancelBubble in IE8
Last updated 3 years ago by chemzqm .
MIT · Original npm · Tarball · package.json
$ cnpm install babel-plugin-transform-event 
SYNC missed versions from official npm registry.

Babel-plugin-event-target

  • e.target => e.target || e.srcElement
  • e.preventDefault() => e.preventDefault ? e.preventDefault() : e.returnValue = false
  • e.stopPropagation() => e.stopPropagation ? e.stopPropagation() : e.cancelBubble = true
  • e.stopImmediatePropagation() => e.stopImmediatePropagation ? e.stopImmediatePropagation() : void(0)

Current Tags

  • 0.0.6                                ...           latest (3 years ago)

6 Versions

  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 8
Dependencies (6)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |