Trying to get the Meteor.rendered template for ScrollMagic is the code I want to make it work.
if (Meteor.isClient) { Meteor.startup(function () { scrollMagicController = new ScrollMagic(); Template.StartAnimation.onRendered({
Pkg Dependency hipstersmoothie: scrollmagic 0.0.9
This is based on a tutorial made by scotch.io . and the first part of codepen code
An attempt to recreate magic in a meteor. I would appreciate it if someone could take a look at these codes.
Thanks.
----------------------------------------------- --- -----------------------------
Found another solution, citing Using greensocks with meteor
if (Meteor.isClient) { Meteor.startup(function () { scrollMagicController = new ScrollMagic(); $(document).ready(function () {
What works!! Nevertheless, I am considering how to use it correctly with flame ... At the same time, I will try to finish the code for the tutorial.
source share