Merge pull request #4843 from jwheare/mac-swipe-events
OSX: Expose 3-finger swipe events in browser-window
This commit is contained in:
commit
0e3737423b
7 changed files with 33 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue