📝 Document passing null to Menu.setApplicationMenu
[ci skip]
This commit is contained in:
parent
96407d9c17
commit
1c80102218
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ The `menu` class has the following static methods:
|
||||||
* `menu` Menu
|
* `menu` Menu
|
||||||
|
|
||||||
Sets `menu` as the application menu on macOS. On Windows and Linux, the `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.
|
**Note:** This API has to be called after the `ready` event of `app` module.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue