shortcut definition

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

Properties

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