Switch to a single OS X swipe event with a direction argument

This commit is contained in:
James Wheare 2016-03-23 15:20:11 +00:00
parent 03319a5426
commit 8482109dea
7 changed files with 21 additions and 64 deletions

View file

@ -322,21 +322,14 @@ Emitted when scroll wheel event phase has begun.
Emitted when scroll wheel event phase has ended.
### Event: 'swipe-up' _OS X_
### Event: 'swipe' _OS X_
Emitted on 3-finger swipe up.
Returns:
### Event: 'swipe-right' _OS X_
* `event` Event
* `direction` String
Emitted on 3-finger swipe right.
### Event: 'swipe-down' _OS X_
Emitted on 3-finger swipe down.
### Event: 'swipe-left' _OS X_
Emitted on 3-finger swipe left.
Emitted on 3-finger swipe. Possible directions are `up`, `right`, `down`, `left`.
## Methods