studio mast
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by studio mast
-
-
-
Hi,
I have a Gsap shockingly green membership and I want to install scroll smoother.
I followed all the steps of the install video / dashboard guidelines.
First I created a .npmrc file with
vim ~/.npmrc
and paste in the dashboard token.
After this I did the npm command:
npm install gsap@npm:@gsap/shockingly
I work with Vitejs and in my javascript I placed:
import { gsap } from "gsap/dist/gsap";
import { ScrollTrigger } from "gsap/dist/ScrollTrigger";gsap.registerPlugin(ScrollTrigger, ScrollSmoother);
import { gsap } from "gsap/dist/gsap"; import { ScrollTrigger } from "gsap/dist/ScrollTrigger"; gsap.registerPlugin(ScrollTrigger, ScrollSmoother);
GSAP and scrolltrigger works fine (when I don't include the scrollsmoother)
But when I include the ScrollSmoother I got this message in the console:
Uncaught ReferenceError: ScrollSmoother is not defined
fade up similar as aos
in GSAP
Posted
Hi,
I was wondering if Greensock has a similar fade up animation on codepen as aos https://michalsnik.github.io/aos/ (first fade up div).
I was already looking in your codepen library but after a long time, I still didn't find anything similar.
Thank you.
L