Merge pull request #8746 from electron/clarify-app-activation
clarify actions that cause app.activate event to be emitted
This commit is contained in:
commit
dd5fa2df85
1 changed files with 4 additions and 2 deletions
|
@ -125,8 +125,10 @@ Returns:
|
||||||
* `event` Event
|
* `event` Event
|
||||||
* `hasVisibleWindows` Boolean
|
* `hasVisibleWindows` Boolean
|
||||||
|
|
||||||
Emitted when the application is activated, which usually happens when the user
|
Emitted when the application is activated. Various actions can trigger
|
||||||
clicks on the application's dock icon.
|
this event, such as launching the application for the first time, attempting
|
||||||
|
to re-launch the application when it's already running, or clicking on the
|
||||||
|
application's dock or taskbar icon.
|
||||||
|
|
||||||
### Event: 'continue-activity' _macOS_
|
### Event: 'continue-activity' _macOS_
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue