Octra libraries - v2.0.0
    Preparing search index...

    Interface Shortcut

    shortcut definition

    interface Shortcut {
        callback?: (
            keyboardEvent: KeyboardEvent | undefined,
            shortcut: Shortcut,
            hotkeyEvent?: HotkeysEvent,
            shortcutGroup?: ShortcutGroup,
        ) => void;
        focusonly?: boolean;
        keys: { mac?: string; pc?: string };
        label?: string;
        name: string;
        title: string;
    }
    Index

    Properties

    callback?: (
        keyboardEvent: KeyboardEvent | undefined,
        shortcut: Shortcut,
        hotkeyEvent?: HotkeysEvent,
        shortcutGroup?: ShortcutGroup,
    ) => void
    focusonly?: boolean
    keys: { mac?: string; pc?: string }
    label?: string
    name: string
    title: string