Skip to main content

Interface: AppMenu

Defined in: plugin/lib.ts:88

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

optional submenu?: AppMenu[];

Defined in: plugin/lib.ts:92

The submenus of this menu


url?

optional url?: string;

Defined in: plugin/lib.ts:90

A URL to open (if not starting with http, then it'll be opened in the external browser)