angular-hammer

Touch events via Hammerjs

Angular Core Dependency: >=1.0.6

Added by: Sam Deering

GitHub

Repository

randallb/angular-hammer

Stats

Stars: 93

Watchers: 93

Forks: 112

Module Description

Angular Hammer

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.

This repo is largely unmaintained, but will accept pull requests. Also ngTouch might serve some of your needs... so check that out.

Module stats last updated: 2017-09-30 15:00:06

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!