National Palace Museum

    swallowify
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    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);
     

    Install

    npm i swallowify

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    1.46 kB

    Total Files

    4

    Last publish

    Collaborators

    • jonhni