Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 406 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 406 Bytes

swallowify

Blazing Fast

Stop propagation of the current event.

Install

$ npm install --save swallowify

Usage

const swallowify = require('swallowify');

const eventfulFunction = () => {
  /// Much STUFF
}

const swallowPropagationClick = swallowify(eventfulFunction);