kohlej Posted November 15, 2020 Share Posted November 15, 2020 Hey all, I have a website where I used lots of scrollTriggers. Now that I decided to use loco smooth scroll, I relized I need to give scroller to each, which I dont think is the way to go, is there a option how I can set scroller for every scrollTrigger I made? Link to comment Share on other sites More sharing options...
Solution GreenSock Posted November 15, 2020 Solution Share Posted November 15, 2020 If I understand your question correctly, just set a default up front: https://greensock.com/docs/v3/Plugins/ScrollTrigger/static.defaults() 2 Link to comment Share on other sites More sharing options...
kohlej Posted November 15, 2020 Author Share Posted November 15, 2020 53 minutes ago, GreenSock said: If I understand your question correctly, just set a default up front: https://greensock.com/docs/v3/Plugins/ScrollTrigger/static.defaults() Yup exactly this. I went thru docs but obviously missed this part, thanks. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now