OSX: Capture 3-finger swipe events in NativeWindow

This commit is contained in:
James Wheare 2016-03-18 15:20:04 +00:00
parent 67db92d500
commit 03319a5426
7 changed files with 76 additions and 0 deletions

View file

@ -322,6 +322,22 @@ Emitted when scroll wheel event phase has begun.
Emitted when scroll wheel event phase has ended.
### Event: 'swipe-up' _OS X_
Emitted on 3-finger swipe up.
### Event: 'swipe-right' _OS X_
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.
## Methods
The `BrowserWindow` object has the following methods: