Ember.sendEvent()

sendEvent (obj, eventName, params, actions) public

Defined in packages/ember-metal/lib/events.js:195

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
doc_EmberJs
2016-11-30 16:51:43
Comments
Leave a Comment

Please login to continue.