Add isVisible() to app.dock
This commit is contained in:
parent
eb73303f28
commit
7bde92deb9
5 changed files with 15 additions and 0 deletions
|
@ -725,6 +725,12 @@ Hides the dock icon.
|
|||
|
||||
Shows the dock icon.
|
||||
|
||||
### `app.dock.isVisible()` _macOS_
|
||||
|
||||
Returns whether the dock icon is visible.
|
||||
The `app.dock.show()` call is asynchronous so this method might not
|
||||
return true immediately after that call.
|
||||
|
||||
### `app.dock.setMenu(menu)` _macOS_
|
||||
|
||||
* `menu` [Menu](menu.md)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue