📝 Document passing null to Menu.setApplicationMenu

[ci skip]
This commit is contained in:
Philip Jackson 2017-03-31 16:42:03 +13:00 committed by GitHub
parent 96407d9c17
commit 1c80102218

View file

@ -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.