Jump to content
Search Community

JPM

Members
  • Posts

    4
  • Joined

  • Last visited

  1. Thanks I adapted your suggestion to use restart on the animation. I noticed that reducing the stroke-dasharray value by PI in the css file will fix my issue. Should have thought of it before xD https://codepen.io/jaypm/pen/oNQKMpa?editors=0110
  2. Hi, I am trying to animate a circle (pie chart) with a duration of x seconds. The result is that the pie chart is filled 3 seconds before the onComplete callback is triggered. How can I sync the actual pie chart with the duration?
  3. Thanks a lot. I totally forgot to add the resetTimeline method to codepen but actually I wasn't aware of the clearProps attribute. Thanks this solved my problem.
  4. Hi, I want to animate a text container so that it appears to be coming from the center of a clicked rectangle and whill stop at the center of the screen. When clicking the x button the animation should be reversed, meaning that the text will move from the center to the div it came from. Everyhting works fine expect if I click on another rectangle or the same one again. The start position of the text container seems to be broken after reversing the animation. How can I fix this issue? The target (text container) top and left value seems to be different after the reverse animation is executed...
×
×
  • Create New...