Fix tray and menu docs

This commit is contained in:
Samuel Attard 2016-11-07 17:43:55 +11:00 committed by Zeke Sikelianos
parent 63ebc41778
commit 11f8923c43
3 changed files with 6 additions and 4 deletions

View file

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