Skip to content

Commit

Permalink
Merge pull request #10 from jimbog/patch-1
Browse files Browse the repository at this point in the history
Thanks, @jimbog for adding Meteor instructions.

Merged.
  • Loading branch information
pukhalski committed Oct 25, 2014
2 parents 2f7179e + d460ff4 commit 43bed0c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,24 @@ Ext.get('any-element').on('tap', function (e) {
});
```

### With Meteor

First, install Meteor package:

`meteor add jimbog:tap`

Then, the tap event is used just like any other event in Meteor, here is an example for
an anchor element:

```javascript
Template.MyTemplate.events({
'tap a': function(evt, tmpl){
evt.preventDefault();
console.log('you tapped the link');
}
})
```

## Browser Support

Tap was tested on the wide range of devices:
Expand Down

0 comments on commit 43bed0c

Please sign in to comment.