docs: Mention how to remove menu bar
This commit is contained in:
parent
5d23b7468e
commit
3b20f2aced
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue