Ember multiple property changes but want to trigger single event

Posted by Jessica Taylor | Updated on

Ember multiple property changes but want to trigger single event. Perhaps you can introduce a computed property on from and to, and then plug the observer on this property. As CPs are cached by default, I think the observer will be triggered only once.

Live demo: http://jsfiddle.net/Sly7/zf2q3/1/


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers