[ type ] KeyEvent
Description:
Key event received by the onKey() handler callback.
Type: Object
Properties:
| Name | Type | Description |
|---|---|---|
|
object | The component that triggered the event. |
|
string | One of |
|
number | Numeric code associated with the key. |
|
number | Unique id assigned to a key depending on the current keyboard layout. |
|
string | The character produced by the key. |
|
number | Keyboard modifiers (bitmask or flags). |
|
string | Human-readable representation of modifiers. |
|
boolean | Indicates if ALT key was pressed. |
|
boolean | Indicates if SHIFT key was pressed. |
|
boolean | Indicates if CTRL key was pressed. |
|
string | One of |
