Ember.propertyDidChange()

propertyDidChange (obj, keyName) Voidprivate

Defined in packages/ember-metal/lib/property_events.js:65

This function is called just after an object property has changed. It will notify any observers and clear caches among other things.

Normally you will not need to call this method directly but if for some reason you can't directly watch a property you can invoke this method manually along with Ember.propertyWillChange() which you should call just before the property value changes.

Parameters:

obj Object
The object with the property that will change
keyName String
The property key (or path) that will change.

Returns:

Void
doc_EmberJs
2016-11-30 16:51:36
Comments
Leave a Comment

Please login to continue.