manages all supported shortcuts

Constructors

Properties

generalShortcuts: ShortcutGroup = ...
shortcutsEnabled: boolean = true

Accessors

  • get pressedKeys(): {
        alt: boolean;
        cmd: boolean;
        ctrl: boolean;
        other: number;
        shift: boolean;
    }
  • Returns {
        alt: boolean;
        cmd: boolean;
        ctrl: boolean;
        other: number;
        shift: boolean;
    }

    • alt: boolean
    • cmd: boolean
    • ctrl: boolean
    • other: number
    • shift: boolean

Methods

  • Parameters

    • event: KeyboardEvent

    Returns undefined | {
        groupName: string;
        shortcut: Shortcut;
    }

  • Parameters

    • groupName: string
    • itemName: string

    Returns void