pixi.utils.Event
type
class
metadata
:native
"PIXI.Event"
Constructor
new
(target : Dynamic, name : String, ?data : Dynamic)
parameters
target
{Object} The target object that the event is called on
name
{String} The string name of the event that was triggered
[data]
{Object} Arbitrary event data to pass along
Creates an homogenous object for tracking events so users can know what to expect.
Instance Variables
content
: Dynamic
data
: Dynamic
The data that was passed in with this event.
target
: Dynamic
The original target the event triggered on.
timeStamp
: Int
The timestamp when the event occurred.
type
: String
The string name of the event that this represents.
Instance Methods
stopImmediatePropagation
() : Void
Stops the propagation of events to sibling listeners (no longer calls any listeners).
stopPropagation
() : Void
Stops the propagation of events up the scene graph (prevents bubbling).