After working fine with
Template.name.rendered = function () { ..... }
I changed this to:
Template.name.onRendered(function(){ ..... })
but I don't have the same results and I don't find too much documentation about the differences, some one would help me please? or someone knows where I can see the differences?