swallowify
v1.0.2
Published
Stop propagation of the current event
Downloads
3
Maintainers
Readme
swallowify
Stop propagation of the current event.
Install
$ npm install --save swallowify
Usage
const swallowify = require('swallowify');
const eventfulFunction = () => {
/// Much STUFF
}
const swallowPropagationClick = swallowify(eventfulFunction);