Open RasenGUY opened 5 years ago
Hello guys,
Im doing a simple project using scrollmagic, it seems the scene does not work at all when i remove am i doing something wrong here?
`// initiate controller var controller = new ScrollMagic.Controller({ addIndicators: 'true' });
// create tween var tween = TweenMax.to("#target", 1, {y: -650}); //initiate scene var scene = new ScrollMagic.Scene({ triggerElement: '#trigger', duration: "200" }) .setTween(tween) .setPin("#target", {pushFollowers: true}) .offset(200) .triggerHook(1) .addTo(controller)`
var controller = new ScrollMagic.Controller();
That's what it should look like without addIndicators.
Hello guys,
Im doing a simple project using scrollmagic, it seems the scene does not work at all when i remove am i doing something wrong here?
`// initiate controller var controller = new ScrollMagic.Controller({ addIndicators: 'true' });