Constructors

Properties

Methods

  • Parameters

    • command: string
    • combo: string = ''

    Returns void

  • Resolve a combo string to a command id (or null).

    Parameters

    • combo: string

    Returns null | string

  • Resolve a keyboard event to a command id (or null).

    Parameters

    • event: KeyLike

    Returns null | string

  • Run a custom command's handler (built-ins are executed by the chart).

    Parameters

    • command: string

    Returns boolean

  • Parameters

    • command: string
    • combo: string | string[]

    Returns boolean

  • True when a key event targets a text field and should be ignored.

    Parameters

    • target: unknown

    Returns boolean