jquery.path icon indicating copy to clipboard operation
jquery.path copied to clipboard

End values after first animation as start values the second time?

Open tkahn opened this issue 14 years ago • 1 comments

Hi!

I'm experimenting with this plugin (great work!) and I find it very useful. Now I'm working on a small demo where I want to be able to run the animation several times in a row and have the end position of the element I animate become the start position the next time I run the animation - like a wheel of fortune.

Is there a way to accomplish this?

Regards, Thomas

tkahn avatar May 13 '11 13:05 tkahn

you could set a property on the object at the start of the animation and then use that in the calculation to determine it's next position ?

weepy avatar May 13 '11 13:05 weepy