Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 592 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 592 Bytes

Angular Hammer v2

Updated to support the rewritten Hammer.js (v1.0.1+).

Within an Angular.js application, allows you to specify custom behaviour on Hammer.js touch events.

Usage, currently as attribute only:

hm-tap="{expression}"

You can change the default settings for the instance by adding a second attribute with options:

hm-options="{drag: false, transform: false}"

Include the angular-hammer.js file, and add hmTouchevents to your app’s dependencies.

Requires Hammer.js, tested with v1.0.1 - 2013-02-26.