From f706bb45cbf7582e0c14a3045457fa448a71fdb6 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 17 Nov 2014 18:48:02 +0800 Subject: [PATCH] docs: app.dock.setMenu --- docs/api/app.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/api/app.md b/docs/api/app.md index b9a837d77bb2..09916921067c 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -185,3 +185,13 @@ Hides the dock icon. Shows the dock icon. **Note:** This API is only available on Mac. + +## app.dock.setMenu(menu) + +* `menu` Menu + +Sets the application [dock menu][dock-menu]. + +**Note:** This API is only available on Mac. + +[dock-menu]:https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/concepts/dockconcepts.html#//apple_ref/doc/uid/TP30000986-CH2-TPXREF103