Skip to content

Scope.handleKey method

Scope › handleKey

Unofficial

Execute keypress within this scope.

Signature:

handleKey(event: KeyboardEvent, keypress: KeymapInfo): unknown

Parameters:

ParameterTypeDescription
eventKeyboardEventKeyboard event.
keypressKeymapInfoPressed key information.

Returns: unknownThe result of the key handler execution.