Open ablamunits opened 8 years ago
Hi,
Trying to use trix-blur in order to update the controller, for example trix-blur="ctrl.updateCtrlStuff()" fails until the next digest cycle.
trix-blur="ctrl.updateCtrlStuff()"
Adding scope.$apply ensures that any changes made as a result of trix-blur and other events are correctly updated in the controller.
scope.$apply
trix-blur
Hi,
Trying to use trix-blur in order to update the controller, for example
trix-blur="ctrl.updateCtrlStuff()"
fails until the next digest cycle.Adding
scope.$apply
ensures that any changes made as a result oftrix-blur
and other events are correctly updated in the controller.