layout | title |
---|---|
default |
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")
.