Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 430 Bytes

jquery-plugin.md

File metadata and controls

16 lines (12 loc) · 430 Bytes
layout title
default
jQuery Plugin

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").