KeyEvent
Hierarchy
- GameEvent<any>
- KeyEvent
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Properties
publickey
The key responsible for throwing the event
publicoptionaloriginalEvent
The original keyboard event that Excalibur handled
publicother
Other target object for this event
publictarget
Target object for this event.
publicoptionalvalue
The key's typed value the browser detected
Accessors
publicbubbles
If set to false, prevents event from propagating to other actors. If true it will be propagated to all actors that apply.
Returns boolean
Parameters
value: boolean
Returns void
Methods
publicstopPropagation
Prevents event from bubbling
Returns void
Event thrown on a game object for a key event