Header menu logo issie

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

KDigit char

Full Usage: KDigit char

Parameters:
    Item : char

'0' to '9'

Item : char

KFn int

Full Usage: KFn int

Parameters:
    Item : int

F1 to F12

Item : int

KLetter char

Full Usage: KLetter char

Parameters:
    Item : char

'A' to 'Z', always upper case

Item : char

KNamed string

Full Usage: KNamed string

Parameters:
    Item : string

One of the names in the Names module below - never an arbitrary string

Item : string

Instance members

Instance member Description

this.IsKDigit

Full Usage: this.IsKDigit

Returns: bool
Returns: bool

this.IsKFn

Full Usage: this.IsKFn

Returns: bool
Returns: bool

this.IsKLetter

Full Usage: this.IsKLetter

Returns: bool
Returns: bool

this.IsKNamed

Full Usage: this.IsKNamed

Returns: bool
Returns: bool

Type something to start searching.