PIXI.InteractionEvent
class InteractionEvent
Event class that mimics native DOM events.
Summary
Properties from InteractionEvent
PIXI.DisplayObject |
The object whose event listener’s callback is currently being invoked. |
PIXI.InteractionData |
InteractionData related to this event |
boolean |
Whether this event will continue propagating in the tree. |
PIXI.DisplayObject |
|
string |
Type of the event. |
Methods from InteractionEvent
void |
Resets the event. |
void |
Prevents event from reaching any objects other than the current object. |
Public Properties
currentTarget: PIXI.DisplayObject
The object whose event listener’s callback is currently being invoked.
stopped: boolean
Whether this event will continue propagating in the tree.
Remaining events for the stopsPropagatingAt object will still be dispatched.
target: PIXI.DisplayObject
The object which caused this event to be dispatched. For listener callback see PIXI.InteractionEvent.currentTarget.
Public Methods
stopPropagation() → {void}
Prevents event from reaching any objects other than the current object.
Type | Description |
---|---|
void |