I have a method in controller where I need to access a view property and set it value. How to achieve this in emberjs?
How to access view property from controller in emberjs
217 views Asked by user51854 At
1
I have a method in controller where I need to access a view property and set it value. How to achieve this in emberjs?
If you want to rerender a view that depends on a controller's property, just bound it in your template
Then in your controller just change
controllerProperty
, automatically this will be reflected in your view.