Type interface
Defines events for InteractionObject
.
Inheritance
IInteractionObjectEvents extends IBaseObjectEvents
.
IInteractionObjectEvents is extended by ISpriteEvents
.
Properties
blur # |
Param { event: Invoked when |
---|---|
doublehit # |
Param Invoked when object is clicked or touched twice in rapid succession. Check |
down # |
Param Invoked when the mouse button is pressed or touch starts. |
drag # |
Param Invoked when |
dragstart # |
Param Invoked when |
dragstop # |
Param Invoked when |
focus # |
Param { event: Invoked when |
hit # |
Param Invoked when object is clicked or touched. |
input # |
Param { event: Invoked whenever information changes in the textual input elements, like |
keydown # |
Param { event: Invoked when the key is pressed on the keyboard. |
keypress # |
Param { event: Invoked when the key generates a "press", e.g. pressing and holding a letter key will generate repeated "keypress" events. |
keyup # |
Param { event: Invoked when the key is released on the keyboard. |
out # |
Param Invoked when mouse cursor moves out of NOTE: this event might not always contains |
over # |
Param Invoked when mouse cursor moves over NOTE: this event might not always contains |
resize # |
Param Invoked when |
rightclick # |
Param { type: Invoked when right mouse button is clicked on the object. |
swipe # |
Param Invoked when user performs "swiping" gesture (quick horizontal movement) on the object, either using mouse or touch. |
swipeleft # |
Param Invoked when user performs "swiping" gesture towards left. |
swiperight # |
Param Invoked when user performs "swiping" gesture towards right. |
track # |
Param Invoked when pointer (mouse cursor or touch point) moves over |
up # |
Param Invoked when the mouse button is released or touch ends. |
wheel # |
Param Invoked when user turns mouse wheel while over the object. |
wheeldown # |
Param Invoked when user turns mouse wheel downwards while over the object. |
wheelleft # |
Param Invoked when user turns mouse wheel leftwards while over the object. |
wheelright # |
Param Invoked when user turns mouse wheel rightwards while over the object. |
wheelup # |
Param Invoked when user turns mouse wheel upwards while over the object. |