Merge pull request #4843 from jwheare/mac-swipe-events

OSX: Expose 3-finger swipe events in browser-window
This commit is contained in:
Cheng Zhao 2016-03-31 10:37:27 +09:00
commit 0e3737423b
7 changed files with 33 additions and 0 deletions

View file

@ -322,6 +322,15 @@ Emitted when scroll wheel event phase has begun.
Emitted when scroll wheel event phase has ended.
### Event: 'swipe' _OS X_
Returns:
* `event` Event
* `direction` String
Emitted on 3-finger swipe. Possible directions are `up`, `right`, `down`, `left`.
## Methods
The `BrowserWindow` object has the following methods: