allan-mei Posted July 15, 2022 Share Posted July 15, 2022 How to bind animation when dynamically fetching new data? Link to comment Share on other sites More sharing options...
allan-mei Posted July 15, 2022 Author Share Posted July 15, 2022 Just now, allan-mei said: 动态获取新数据时如何绑定动画? After dynamically loading data, scroll-Smoother and no binding new animations? Link to comment Share on other sites More sharing options...
GreenSock Posted July 15, 2022 Share Posted July 15, 2022 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 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