mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
📝 Document passing null to Menu.setApplicationMenu
[ci skip]
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user