Skip to content

Scope.handleKey method

Scope › handleKey

Unofficial

Execute keypress within this scope.

Signature:

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

Parameters:

ParameterTypeDescription
$eventKeyboardEvent
keypressKeymapInfoPressed key information.

Returns: unknown — The result of the key handler execution.