Thanks for the amazing work with Zepto.
I am missing a lot a stop for animation...any thought on that?
Cheers a lot,
Zepto uses css transitions, and there is no native api method to stop a css transition.
In order to work around this, you can:
It's not perfect though, the elements will flash when they are removed and then inserted again.
Setting the transition time to near infinity should do the trick ... Not?
I would also think setting the style to the computed property would work
@wolfv Setting the transition to infinity did not work for me. It continues the animation at the same rate as it was set initially.
@enure If you've got working code, you could share with us here.
Not sure if we'll include in Zepto, but could be a plugin or just a snippet that people could use.
Closing this because there was no response to our questions in a while. Feel free to reopen with the requested information!