Browse Source

:memo: Document passing null to Menu.setApplicationMenu

[ci skip]
Philip Jackson 8 years ago
parent
commit
1c80102218
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/api/menu.md

+ 2 - 1
docs/api/menu.md

@@ -17,7 +17,8 @@ The `menu` class has the following static methods:
 * `menu` Menu
 
 Sets `menu` as the application menu on macOS. On Windows and Linux, the `menu`
-will be set as each window's top menu.
+will be set as each window's top menu. Setting it to `null` will remove the
+menu bar.
 
 **Note:** This API has to be called after the `ready` event of `app` module.