@solisware/electron-menu-i18next API - v1.0.2
    Preparing search index...

    Interface MenuTemplateItem

    A structural subset of Electron.MenuItemConstructorOptions. We don't import the electron package (it's not needed at runtime, and pulling its types in would force a hard peer dependency), so this package works against any object shaped like a menu item — including Electron's own MenuItemConstructorOptions, which satisfies this interface.

    interface MenuTemplateItem {
        label?: string;
        role?: string;
        submenu?: unknown;
    }
    Index
    label?: string

    An explicit label. When present, it is preserved without translation.

    role?: string

    Electron's built-in behavior identifier, such as copy or fileMenu.

    submenu?: unknown

    A nested menu template, or another submenu value understood by Electron.