I'm wondering if I can register a callback function to be called each time the contents of my mustache template are re-rendered due to an observe changing?
In other words: a single catch-all as opposed to hooking in to each possible change that could cause re-rendering...
var obj = can.Observe({ ... });
var renderer = can.Mustache({ text: ... });
var frag = renderer( obj );
$(...).html(can.view.frag(frag));
.... how can I be called each time the rendering has completed due to obj's attrs changing?
Thanks!