Skip to content

Commit

Permalink
Merge pull request #25 from gonnavis/master
Browse files Browse the repository at this point in the history
README add example for how to pass arguments
  • Loading branch information
bsdfzzzy authored Nov 5, 2018
2 parents e65af47 + 6bb7069 commit abdfd1a
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 @@ -31,6 +31,8 @@ Vue.use(VueHammer)
<a v-hammer:tap="onTap">Tap me!</a>

<div v-hammer:swipe.left="onSwipeLeft">Swipe me!</div>

<div v-hammer:swipe.left="(event)=> onSwipeLeft(event, item, i)">Swipe me!</div>
```

#### Configuring Recognizer Options
Expand Down

0 comments on commit abdfd1a

Please sign in to comment.