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.
Share
I added a simple stop() function in my fork on Github. This also triggers your callback.