Implement 'activiate' event instead of 'activate-with-open-windows'.

This commit is contained in:
Haojian Wu 2015-09-14 18:34:27 -07:00
parent c006c4efa4
commit 377e7ee3a7
7 changed files with 20 additions and 14 deletions

View file

@ -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'