mac: Add app.dock.hide()/show() APIs, closes #422.

This commit is contained in:
Cheng Zhao 2014-06-25 11:55:33 +08:00
parent 3eecd664b4
commit 8ecc4061a8
5 changed files with 39 additions and 1 deletions

View file

@ -153,3 +153,15 @@ Sets the string to be displayed in the docks 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.