Sign up (with export icon)

KeystrokeHandlerOptions

Api-interface icon interface

Properties

  • Chevron-right icon

    filter : ( keyEvtData: KeyboardEvent ) => boolean | undefined
    readonly

    An optional callback function allowing for filtering keystrokes based on arbitrary criteria. The callback function receives keydown DOM event as a parameter.

  • Chevron-right icon

    priority : PriorityString | undefined
    readonly

    The priority of the keystroke callback. The higher the priority value the sooner the callback will be executed. Keystrokes having the same priority are called in the order they were added.