KeyPressAction interface
A collection of keypresses the model would like to perform.
- Extends
Properties
| keys | The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key. |
| type | Specifies the event type. For a keypress action, this property is always set to |
Property Details
keys
The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.
keys: string[]
Property Value
string[]
type
Specifies the event type. For a keypress action, this property is always set to keypress.
type: "keypress"
Property Value
"keypress"