Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

monospaced/angular-hammer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRECATED] Angular Hammer v2

Since AngularJS support has been discontinued this package is deprecated and no longer maintained.


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

See it in action.

Usage

as attribute

hm-tap="{expression}"

as class

class="hm-tap: {expression};"

change the default settings for the instance by adding a second attribute or class with options

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

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

Install

bower install monospaced/angular-hammer

Include the angular-hammer.js script provided by this component in your app, and add hmTouchEvents to your app’s dependencies.

Requires Hammer.js, tested with v1.0.5.

Demo

monospaced.github.io/angular-hammer

About

[DEPRECATED] Hammer.js support for AngularJS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 100.0%