sunrisejoz Posted November 10, 2023 Posted November 10, 2023 hi, i have looked extensively through the docs and can't find reference to this.... if i create a tween that does not include a duration, like this tl.to("#id", {y: 50, xPercent: 65, opacity: 1}); what is the "default" duration. and before you all tell be it'll be what i set in the defaults: {obj}, can we assume that has not been set either please.
Solution Toso Posted November 10, 2023 Solution Posted November 10, 2023 i think the duration is .5 , i wanted to know this before and just saved the tween inside a variable and console logged it and got all the things i wanted to know and more 2 1
Cassie Posted November 10, 2023 Posted November 10, 2023 Yep, default is 0.5 - I'll add this into the docs ☺️ 2 1
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