Jump to content



Recommended Posts

How to bind animation when dynamically fetching new data?

Link to comment
Share on other sites

Just now, allan-mei said:


After dynamically loading data, scroll-Smoother and no binding new animations?

Link to comment
Share on other sites

Hi @allan-mei. Thanks for being a Club GreenSock member!


I'm not sure I understand your question, but you can call ScrollTrigger.refresh() when your new content is completely done loading - that will force all the start/end positions to recalculate. Does that help? 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.