I have a ponent with a property 'viewBox' that stores a POJO, with an observer on this property. I want to be able to modify the properties of this viewBox without using set and then manually trigger a change on the viewBox. Is this possible in ember.js ?
I have a ponent with a property 'viewBox' that stores a POJO, with an observer on this property. I want to be able to modify the properties of this viewBox without using set and then manually trigger a change on the viewBox. Is this possible in ember.js ?
Share Improve this question asked Apr 6, 2015 at 17:14 J. BarcaJ. Barca 5556 silver badges19 bronze badges1 Answer
Reset to default 16You can use the notifyPropertyChange method on Ember.Observable
to let Ember know a property has been changed through manual assignment.