Package | com.eqsim.events |
Class | public class EventWithData |
Inheritance | EventWithData ![]() |
data
property.
Property | Defined By | ||
---|---|---|---|
data : Object | EventWithData |
Method | Defined By | ||
---|---|---|---|
EventWithData(type:String, bubbles:Boolean = false, cancelable:Boolean = false, dataInit:Object = null)
Creates an instance of an Event with a data property. | EventWithData |
data | property |
public var data:Object
The default value is an empty Object.
.
EventWithData | () | Constructor |
public function EventWithData(type:String, bubbles:Boolean = false, cancelable:Boolean = false, dataInit:Object = null)
Creates an instance of an Event with a data property.
If you pass in an Object to the constructor for the data parameter, the event gets initialized with that Object. Otherwise, it gets set to null.
Parameterstype:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
| |
dataInit:Object (default = null ) — Optional. If you do not include this, the constructor adds a new, blank Object automatically. If you pass in a value for this,
the constructor uses that Object.
|