Manually trigger a property change in ember.js

I have a component with the 'viewBox' property that stores a POJO with an observer in this property. I want to be able to change the properties of this viewBox without using set, and then manually trigger the change in the viewBox. Is this possible in ember.js?

+5
source share
1 answer

You can use the notifyPropertyChange method on Ember.Observable so that Ember knows that the property has been changed using a manual assignment.

+14
source

All Articles