node package manager

properjs-hammered

Hammered

Hammerjs event delegation wrapper.

Deprecated

No longer necessary, no longer maintained...

Installation

npm install properjs-hammered --save-dev

Usage

You can create an instance and use jQuery style event delegation with hammerjs.

var Hammered = require( "properjs-hammered" ),
    hammered = new Hammered( el, opts );
 
 
// Only fires if element matches or is contained by selector 
hammered.on( "tap", ".js-tap-element", onTapHandler );