stop
Cross-browser .stopPropagation
.
Installation
$ component install yields/stop
Example
anchor.onclick = require('stop');
API
stop(e)
Stop the given e
, if the argument is omitted,
the method will fallback to window.event
.
License
MIT
Cross-browser .stopPropagation
.
$ component install yields/stop
anchor.onclick = require('stop');
Stop the given e
, if the argument is omitted,
the method will fallback to window.event
.
MIT
npm i democracyos-stop
7
0.0.2
MIT