/stop

Cross-browser .stopPropagation, because microsoft is fantastic.

Primary LanguageJavaScript

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