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?
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?
Break out that component into its own template and do a onRendered event helper on that.