JQuery loading good practice


#1

How do you make sure a DIV is rendered before you apply some jQuery function to it?

Template.xxx.onRendered (or onCreated) fires too early. Do you all use Meteor.timeout() ? Or is there a more elegant technique?


#2

Break out that component into its own template and do a onRendered event helper on that.