Question

zeptojs document here when I use $().animate function throw error like below:

TypeError: $(...).animate is not a function

And the version I used is the page provides.

Was it helpful?

Solution

$(...).animate is in the zepto fx module. It's no longer in the base main distribution of zepto!

http://zeptojs.com/#modules

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top