Trevixal API
    Preparing search index...

    Interface MenubarOptions

    interface MenubarOptions {
        ariaLabel?: string;
        menus?: readonly Menu[];
        messages?: Readonly<Record<string, string>>;
        shortcutLabels?: Readonly<Record<string, string | null>>;
    }
    Index
    ariaLabel?: string
    menus?: readonly Menu[]
    messages?: Readonly<Record<string, string>>

    Translations, keyed menu.<item name>. Anything missing keeps its English; see defaultMessages for the full list of keys.

    shortcutLabels?: Readonly<Record<string, string | null>>

    Printed shortcuts by item name, from createShortcutManager().labels(). When given it is the single source of truth: an item's own shortcut is ignored, and an item absent from the map prints nothing, so a label can never advertise a key that some other binding actually owns.