Merge pull request #5525 from stanfieldr/doc-improvements
A little confused by docs
This commit is contained in:
commit
f5acc8b599
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ Emitted when Electron has finished initialization.
|
||||||
|
|
||||||
Emitted when all windows have been closed.
|
Emitted when all windows have been closed.
|
||||||
|
|
||||||
This event is only emitted when the application is not going to quit. If the
|
If you do not subscribe to this event and all windows are closed, the default behavior is to quit the app; however, if you subscribe, you control whether the app quits or not. If the
|
||||||
user pressed `Cmd + Q`, or the developer called `app.quit()`, Electron will
|
user pressed `Cmd + Q`, or the developer called `app.quit()`, Electron will
|
||||||
first try to close all the windows and then emit the `will-quit` event, and in
|
first try to close all the windows and then emit the `will-quit` event, and in
|
||||||
this case the `window-all-closed` event would not be emitted.
|
this case the `window-all-closed` event would not be emitted.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue