tomektomczuk Posted June 22, 2020 Share Posted June 22, 2020 How can I pass yValue to timeline and update it every time when mediaQuery changes ? See the Pen OJMmLJg by timovega (@timovega) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted June 22, 2020 Share Posted June 22, 2020 Hey tomek. You need to recreate the TL if you're going to switch out the values. Here's how I'd set it up: See the Pen vYLmBvW?editors=0010 by GreenSock (@GreenSock) on CodePen 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