HI,
I’m new to Meteor and I was having trouble figuring out how to run a function at document.ready() in Meteor. Specifically I’m trying to call $(“parallax”).parallax() when the page loads so that the parallax component from Materialize would work. I’ve tried calling it in Template.paralla.onRendered() but it does not get called. I would have to manually call it in the console for it to work. Is there a section in the tutorial that I should look at to gain a better understanding for this (perhaps routing) ?
Thank you,