Constructor
new GenericEvent(_type, _eventName, _params, _bubbles, _cancelable)
- Source:
Example
//create Generic Event
let helloEvent = new GenericEvent(EventUtils.CHANGE, "HelloChangeEvent", "myParams");
// Dispatch Event on Application Event Channel
EventBroadCaster.appEventChannel.dispatchEvent(helloEvent);
Parameters:
Name | Type | Description |
---|---|---|
_type |
string | |
_eventName |
string | |
_params |
Object | |
_bubbles |
* | |
_cancelable |
Boolean |
Classes
Methods
clone()
- Source:
Returns:
{Object) - creates and return GenericEvent Instance