Jump to content
Search Community

drawSVG ignoring amount?

adamo test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hi. Im using a loop to set variables for a speedometer animation. In the codepen the're three instances of an svg - the idea is to get animation properties from data-attributes. The arrow is animating properly but the percentage amount stays the same for all instances.

 

As a side note how to make the mask 0% at the start? So the green fill wont be visible when starting the animation.

See the Pen QWzedKa by depcore (@depcore) 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...