4

I am working with Zepto and Phonegap to create a target that moves over the page. When it's touched, I want the animation to end. I can't find any command that stops the animation. Changing opacity to 0 and starting a new animation don't work either. I can trigger it when it's touched, I'm just having trouble figuring out what the command is to stop the animation, if there is one.

CSturgess
  • 1,547
  • 2
  • 13
  • 29

1 Answers1

2

I added a simple stop() function in my fork on Github. This also triggers your callback.

Jürgen Paul
  • 14,299
  • 26
  • 93
  • 133
Steve Ross
  • 4,134
  • 1
  • 28
  • 40