Hello,
thanks to
this answer from Jonas I'm able to add some animations and decorate templates with jQuery tweaks.
So it turns out that there are two yet undocumented lifecycle events, load and unload.
tbody[on:load=someControllerCallback]
I'm using load event to apply e.g. loading animation or jQuery Sortable, however I failed when I tried to use the unload event to do any kind of unloading animation (e.g. simple jQuery.slideUp), since template is replaced immediately after unload event is processed.
Is there a way how I can make unloading animation to work? Or can I replace/change the default replace operation when template is rerendered?