sendEvent (obj, eventName, params, actions) public
Send an event. The execution of suspended listeners is skipped, and once listeners are removed. A listener without a target is executed on the passed object. If an array of actions is not passed, the actions stored on the passed object are invoked.
Parameters:
- obj
-
eventName
String
-
params
Array
- Optional parameters for each listener.
-
actions
Array
- Optional array of actions (listeners).
Returns:
- true
Please login to continue.