Lichay Posted January 10, 2021 Share Posted January 10, 2021 If I want to use Gsap only if my size of screen lower then X if possible with Gsap special query or I need to use for example // media query event handler if (matchMedia) { var mq = window.matchMedia("(min-width: 800px)"); mq.addListener(WidthChange); WidthChange(mq); } have another way in Gsap? Link to comment Share on other sites More sharing options...
mikel Posted January 10, 2021 Share Posted January 10, 2021 Hey @Lichay, Nice to hear from you again. Please have a look at this post - different options will be shown. Happy searching in our Forum ... Mikel 4 Link to comment Share on other sites More sharing options...
Lichay Posted January 10, 2021 Author Share Posted January 10, 2021 3 minutes ago, mikel said: Hey @Lichay, Nice to hear from you again. Please have a look at this post - different options will be shown. Happy searching in our Forum ... Mikel Thanks ye I start to love Gsap, already use it for two website that I have developed 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