Skip to content

Commit

Permalink
Merge pull request #44 from bradleyflood/master
Browse files Browse the repository at this point in the history
feat(docs): Add note to readme regarding hammer.js requirement
  • Loading branch information
wzr1337 committed Nov 29, 2015
2 parents 780af93 + db67fe6 commit 1938553
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ AngularJS directive that adds support for multi touch gestures to your app, base
* You can use angular interpolations like this : `hm-swipe="remove_something({{ id }})"`
* You can also use Hammer.js options by e.g. `hm-tap-opts="{hold: false}"`

Note that [hammer.js](http://hammerjs.github.io/) is an additional requirement and is not included in `angular-gestures`.

### Event data

Pass the `$event` object in the usual way e.g. `hm-drag="myDrag($event)"` then access its internals like so:
Expand Down

0 comments on commit 1938553

Please sign in to comment.