Skip to content

hyzhak/angular-hammer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

** IMPORTANT **

This module will be useless in Angular 1.2 with the advent of new touch events.

Details here

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.

About

Touch events via Hammerjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%