Skip to content

Angular directives for all touch events handled by hammer.js

Notifications You must be signed in to change notification settings

cubicleDowns/ngHammer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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>

About

Angular directives for all touch events handled by hammer.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%