Thanks for the suggestion! It could work. However I'm using logic-less Mustache templates. So not sure how to implement it with Mustache. Looks like http://canjs.com/docs/can.Mustache.helpers.elementCallback.html is designed for. However documentation is missed.
↧