fn
eventToCombo
Canonical combo string for a keydown event (matches {@link normalizeCombo}).
Signature
ts
export function eventToCombo(event: KeyboardEvent): string{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
event | KeyboardEvent | — |
Returns
stringCanonical combo string for a keydown event (matches {@link normalizeCombo}).
export function eventToCombo(event: KeyboardEvent): string{ ... }| Parameter | Type | Description |
|---|---|---|
event | KeyboardEvent | — |
string