Keyboard event fields a shortcut is matched against.

interface ShortcutEvent {
    altKey?: boolean;
    ctrlKey?: boolean;
    key: string;
    metaKey?: boolean;
    shiftKey?: boolean;
}

Properties

altKey?: boolean
ctrlKey?: boolean
key: string
metaKey?: boolean
shiftKey?: boolean