🍎 Add 'Hide' to App API for OS X only

This commit is contained in:
Simon Madine 2016-01-29 12:30:19 +01:00
parent 30b35644f6
commit 7a370ccd0f
4 changed files with 12 additions and 0 deletions

View file

@ -244,6 +244,10 @@ This method guarantees that all `beforeunload` and `unload` event handlers are
correctly executed. It is possible that a window cancels the quitting by
returning `false` in the `beforeunload` event handler.
### `app.hide()` _OS X_
Hides all application windows without minimising them.
### `app.exit(exitCode)`
* `exitCode` Integer