Jump to content
Search Community

Is it possible to calculate the duration without running the animation?

sukjae test
Moderator Tag

Recommended Posts

hello.
Is it possible to calculate the duration without running the animation?(without to, fromTo, from,...)

Since the animation is not executed immediately, `to` should not be executed.

 

We try to run all of them with the same duration according to the maximum duration.

In the example below, we want to run 2.9s as the duration.

 

See the Pen JjBjRjG?editors=1111 by leesukjae (@leesukjae) on CodePen

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.
×
×
  • Create New...