]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: Mention how to remove menu bar
authorCheng Zhao <zcbenz@gmail.com>
Thu, 4 Jun 2015 08:12:29 +0000 (16:12 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 4 Jun 2015 08:12:29 +0000 (16:12 +0800)
docs/api/browser-window.md

index 30055dccb0afddb1fdd499d3728f7d3d2ee3ce87..35a439a53620ef71ec4f4c6a81885ee1ec059574 100644 (file)
@@ -579,7 +579,8 @@ Same with `webContents.reload`.
 
 * `menu` Menu
 
-Sets the `menu` as the window top menu.
+Sets the `menu` as the window's menu bar, setting it to `null` will remove the
+menu bar.
 
 __Note:__ This API is not available on OS X.