Ember.suspendListener()

suspendListener (obj, eventName, target, method, callback) private

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

Suspend listener during callback.

This should only be used by the target of the event listener when it is taking an action that would cause the event, e.g. an object might suspend its property change listener while it is setting that property.

Parameters:

obj
eventName String
target Object|Function
A target object or a function
method Function|String
A function or the name of a function to be called on `target`
callback Function
doc_EmberJs
2016-11-30 16:51:46
Comments
Leave a Comment

Please login to continue.