Type alias KeyCommandCallback

KeyCommandCallback: ((e, selection, value) => void | boolean)

Type declaration

    • (e, selection, value): void | boolean
    • Function called when a certain key is pressed. If true is returned, e.preventDefault() and e.stopImmediatePropagation() is called automatically.

      Parameters

      Returns void | boolean

Generated using TypeDoc