babel-plugin-transform-event
add support e.scrElement e.returnValue e.cancelBubble in IE8
Last updated 4 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 (4 years ago)

6 Versions

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

Copyright 2014 - 2017 © taobao.org |