解决Zepto.js不支持animate报错的问题,错误信息$(...).animate is not a function
来源:互联网 发布:能以礼让为国乎 编辑:程序博客网 时间:2024/05/21 09:29
这次移动端web项目的开发用到Zepto.js,其中一个列表项要求实现左滑删除的功能,我用到animate,但是一直报错:
后来查询发现zepto.min.js默认只是加载一部分模块,其中就没有animate的模块;
解决办法:
在github中 https://github.com/madrobby/zepto,找到fx.js文件,把内容追加到zepto.min.js中,
或者单独建一个animate.js文件引入到项目中,即可!
阅读全文
1 0
- 解决Zepto.js不支持animate报错的问题,错误信息$(...).animate is not a function
- animate is not a function(zepto 使用报错)
- js报$ is not a function 的问题的解决方法
- 关于js报$ is not a function 的问题
- js 报错 $ is not a function
- js报错:****is not a function 的解决方法
- zepto中animate的用法
- JS报错 Uncaught TypeError: undefined is not a function,解决
- animate.css/js问题
- js报错$('#form1').ajaxSubmit is not a function...
- js报错$('#form1').ajaxSubmit is not a function...
- js报错:TypeError: document.GetElementById is not a function
- js报错 :TypeError: yanzhengma is not a function
- js报错:TypeError: document.GetElementById is not a function
- js 报错(intermediate value)(...) is not a function
- three.js报错renderer.setClearColorHex is not a function
- js运行报错:(intermediate value) is not a function
- num.toFixed is not a function(js报错)
- WebSocket与消息推送
- [Offer收割]编程练习赛29
- 在web环境下搭建shiro框架
- mysql查看用户权限
- CSA云计算关键领域安全指南4.0 (中文版)
- 解决Zepto.js不支持animate报错的问题,错误信息$(...).animate is not a function
- Java实现ftp上传下载功能
- C++&UDP&Http的数据传输
- Bean基本概念的实现
- Windows上安装Maven
- 【JAVA秒会技术之Joda-Time】满足你所有关于日期的处理
- CPU和BIOS
- mybatis 自动生成 mapper
- 利用PyCharm进行Python远程调试(pypy环境)