Toggle navigation

jQuery plugin

A small jQuery plugin is available, and is just a small wrapper around the Hammer() class. It also extends the Manager.emit method by triggering jQuery events.

$(element).hammer(options).bind("pan", myPanHandler);

The Hammer instance is stored at $element.data("hammer").

Edit this page on GitHub