interface KeyboardHitEvent

Event generated for keyboard events on a hit region.

Properties
altKey, code, ctrlKey, key, metaKey, shiftKey

Properties

altKey

Indicates whether the alt/option key was pressed.

Type:
boolean
code

Physical key on the keyboard.

Type:
string
ctrlKey

Indicates whether the ctrl key was pressed.

Type:
boolean
key

Character generated by pressing the key.

Type:
string
metaKey

Indicates whether the meta key was pressed.

Type:
boolean
shiftKey

Indicates whether the shift key was pressed.

Type:
boolean