mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Fix tray and menu docs
This commit is contained in:
committed by
Zeke Sikelianos
parent
63ebc41778
commit
11f8923c43
@@ -31,7 +31,7 @@ Create a new `MenuItem` with the following method:
|
||||
* `visible` Boolean - (optional) If false, the menu item will be entirely hidden.
|
||||
* `checked` Boolean - (optional) Should only be specified for `checkbox` or `radio` type
|
||||
menu items.
|
||||
* `submenu` Menu - (optional) Should be specified for `submenu` type menu items. If
|
||||
* `submenu` MenuItemConstructorOptions[] - (optional) Should be specified for `submenu` type menu items. If
|
||||
`submenu` is specified, the `type: 'submenu'` can be omitted. If the value
|
||||
is not a `Menu` then it will be automatically converted to one using
|
||||
`Menu.buildFromTemplate`.
|
||||
|
||||
Reference in New Issue
Block a user