KeyboardShortcut: {
    alt?: boolean;
    ctrl?: boolean;
    key?: string;
    shift?: boolean;
}

Basic definition of a keyboard shortcut based on key and modifier keys.

Type declaration

  • Optionalalt?: boolean

    Needs alt ?

  • Optionalctrl?: boolean

    Needs ctrl ?

  • Optionalkey?: string

    Keyboard key.

  • Optionalshift?: boolean

    Needs shift ?