Readonly
altIf falsey, the alt
key is not pressed.
Readonly
codeReadonly
ctrlIf ctrlKey
is undefined, that is equivalent to ctrlKey = false
.
Readonly
keykey, as given by an HTML KeyboardEvent
Readonly
kindReadonly
shiftIf falsey, the shift
key is not pressed.
Represents a keydown or auto-repeated keydown event.
Use keyPressEventFromHTMLEvent where possible rather than constructing directly (required properties may change between minor releases).