Implement 'activiate' event instead of 'activate-with-open-windows'.
This commit is contained in:
parent
c006c4efa4
commit
377e7ee3a7
7 changed files with 20 additions and 14 deletions
|
@ -100,10 +100,15 @@ Emitted when the application is activated while there are no open windows, which
|
|||
usually happens when the user has closed all of the application's windows and
|
||||
then clicks on the application's dock icon.
|
||||
|
||||
### Event: activated-with-open-windows _OS X_
|
||||
### Event: 'activate' _OS X_
|
||||
|
||||
Emitted when the application is activated while there are open windows, which
|
||||
usually happens when clicks on the applications's dock icon.
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `hasVisibleWindows` Bool
|
||||
|
||||
Emitted when the application is activated, which usually happens when clicks on
|
||||
the applications's dock icon.
|
||||
|
||||
### Event: 'browser-window-blur'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue