Trevixal API
    Preparing search index...

    Interface ShortcutManagerOptions

    interface ShortcutManagerOptions {
        actions: readonly ShortcutAction[];
        isMac?: boolean;
        onChange?: (overrides: ShortcutOverrides) => void;
        overrides?: Readonly<Record<string, string | null>>;
        scopes?: readonly HTMLElement[];
    }
    Index
    actions: readonly ShortcutAction[]
    isMac?: boolean
    onChange?: (overrides: ShortcutOverrides) => void

    Called with the full override map whenever a binding changes.

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

    Saved overrides to start from: what onChange last reported.

    scopes?: readonly HTMLElement[]

    Elements whose key events the manager handles; defaults to the editing surface. Pass the chrome root too so shortcuts work from the toolbar.