Interface: AppMenu
plugin/lib .AppMenu
The members of AppMenu should be the same as the options for the MenuItem in https://www.electronjs.org/docs/latest/api/menu-item except for the “submenu” (which is the AppMenu type) and “click” (which is not supported here, use the “url” field instead).
Indexable
▪ [key: string
]: any
Any other members from Electron’s MenuItem.
Properties
submenu
• Optional
submenu:
AppMenu
[]
The submenus of this menu
Defined in
url
• Optional
url: string
A URL to open (if not starting with http, then it’ll be opened in the external browser)