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.
Parameters
Section titled “Parameters”KeyboardEvent
selection
Section titled “selection”string
Returns
Section titled “Returns”void
| boolean