Skip to main content

Type Alias: KeyHandler

KeyHandler = (event) => void | false

Defined in: extensions/keymap.ts:97

A raw chord callback. Return false to decline: the key stays unhandled and the keymap offers it to the next older binding. Any other return, or none, handles the key.

Parameters​

event​

KeyEventLike

Returns​

void | false