Skip to content

KeyCommandCallback

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

Defined in: types.ts:82

Function called when a certain key is pressed. If true is returned, e.preventDefault() and e.stopImmediatePropagation() is called automatically.

KeyboardEvent

InputSelection

string

void | boolean