ngHammer

Angular directives for all touch events handled by hammer.js

Added by: Sam Deering

GitHub

Repository

danmasta/nghammer

Stats

Stars: 6

Watchers: 6

Forks: 5

Author

Danmasta
Danmasta

Module Description

ngHammer

Angular directives for all touch events handled by hammer.js: http://eightmedia.github.io/hammer.js/

#About

This plugin creates directives for each event handled by hammer.js. Functionality is the same as native angular event directives.

Usage

Include hammer.js, nghammer.js, and angular.js on your page. Then simply add ngHammer as a dependcy in your angular module. Then use the directives just like you would ng-click="expression"

angular.module('myApp', ['ngHammer']);
<div ng-drag="expression" ng-swipeup="expression" ng-tap="expression"></div>

Module stats last updated: 2015-06-28 10:59:59

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!