KeyName Type
A key identity, normalised away from the browser's raw strings. Raw `ev.key` cannot be used directly: on macOS Option mangles it, so Cmd+Option+A arrives as "å". Raw `ev.code` cannot be used either, since it is physical and so wrong on non-QWERTY layouts. KeyBindings.keyNameOf resolves an event into one of these using `ev.key` where it is meaningful and falling back to `ev.code` where it is not.
Union cases
| Union case | Description |
Full Usage:
KDigit char
Parameters:
char
|
|
Full Usage:
KFn int
Parameters:
int
|
|
Full Usage:
KLetter char
Parameters:
char
|
|
Full Usage:
KNamed string
Parameters:
string
|
Instance members
| Instance member | Description |
Full Usage:
this.IsKDigit
Returns: bool
|
|
Full Usage:
this.IsKFn
Returns: bool
|
|
Full Usage:
this.IsKLetter
Returns: bool
|
|
Full Usage:
this.IsKNamed
Returns: bool
|
|