Merge pull request #9108 from yuya-oc/add-macos-sheet-events

Add sheet-begin and sheet-end events to macOS BrowserWindow
This commit is contained in:
Kevin Sawicki 2017-04-20 10:33:31 -07:00 committed by GitHub
commit dc8b43901b
8 changed files with 88 additions and 0 deletions

View file

@ -498,6 +498,14 @@ Returns:
Emitted on 3-finger swipe. Possible directions are `up`, `right`, `down`, `left`.
#### Event: 'sheet-begin' _macOS_
Emitted when the window opens a sheet.
#### Event: 'sheet-end' _macOS_
Emitted when the window has closed a sheet.
### Static Methods
The `BrowserWindow` class has the following static methods: