mac: Add app.dock.hide()/show() APIs, closes #422.
This commit is contained in:
parent
3eecd664b4
commit
8ecc4061a8
5 changed files with 39 additions and 1 deletions
|
@ -153,3 +153,15 @@ Sets the string to be displayed in the dock’s badging area.
|
|||
Returns the badge string of the dock.
|
||||
|
||||
**Note:** This API is only available on Mac.
|
||||
|
||||
## app.dock.hide()
|
||||
|
||||
Hides the dock icon.
|
||||
|
||||
**Note:** This API is only available on Mac.
|
||||
|
||||
## app.dock.show()
|
||||
|
||||
Shows the dock icon.
|
||||
|
||||
**Note:** This API is only available on Mac.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue