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.

Était-ce utile?

La solution

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

http://zeptojs.com/#modules

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top