angular-hammer

WebJar for angular-hammer

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

angular-hammer
Last Version

Last Version

1.2.4
Release Date

Release Date

Type

Type

jar
Description

Description

angular-hammer
WebJar for angular-hammer
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/monospaced/angular-hammer

Download angular-hammer

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-hammer/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-hammer</artifactId>
    <version>1.2.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-hammer/
implementation 'org.webjars.bower:angular-hammer:1.2.4'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-hammer/
implementation ("org.webjars.bower:angular-hammer:1.2.4")
'org.webjars.bower:angular-hammer:jar:1.2.4'
<dependency org="org.webjars.bower" name="angular-hammer" rev="1.2.4">
  <artifact name="angular-hammer" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-hammer', version='1.2.4')
)
libraryDependencies += "org.webjars.bower" % "angular-hammer" % "1.2.4"
[org.webjars.bower/angular-hammer "1.2.4"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.bower : angular jar [1.0.6,)
org.webjars.bower : hammerjs jar [1.0.5,1.0.11]

Project Modules

There are no modules declared in this project.

Angular Hammer v2

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

Versions

Version
1.2.4