Skip to content

Scope.handleKey method

Scope › handleKey

Unofficial

Execute keypress within this scope.

Signature:

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

Parameters:

Parameter Type Description
event KeyboardEvent Keyboard event.
keypress KeymapInfo Pressed key information.

Returns: unknownThe result of the key handler execution.