Scope.handleKey method
Scope › handleKey
Unofficial
Execute keypress within this scope.Signature:
handleKey(event: KeyboardEvent, keypress: KeymapInfo): unknownParameters:
| Parameter | Type | Description |
|---|---|---|
| event | KeyboardEvent | Keyboard event. |
| keypress | KeymapInfo | Pressed key information. |
Returns: unknown — The result of the key handler execution.