Cell API
    Preparing search index...

    Class KeyCode

    Representation of a pressed key combined with key modifiers.

    Index
    alt: boolean
    character: string | undefined
    ctrl: boolean
    key: Key | undefined
    meta: boolean
    shift: boolean
    • Return true if this KeyCode only contains modifiers.

      Returns boolean

    • Parses a string and returns a KeyCode object.

      Parameters

      • keybinding: string

        String representation of a keybinding

      Returns KeyCode