【文件属性】:
文件名称:jquery.animate:通过CSS3过渡,支持.stop()方法
文件大小:73KB
文件格式:ZIP
更新时间:2021-05-14 09:44:22
JavaScript
jQuery.animate
重写jQuery.animate的默认行为,优先使用CSS3 Transition实现动画。
为什么要使用?
这个插件是jQuery.animate方法的重写,您不需要考虑修改代码,只需要包含插件,就可以让您所有的jQuery动画都转化为CSS3 Transition 。
用法
只需在jQuery之后添加 。
< script src =" jquery.js " > </ script >
< script src =" jquery.animate.js " > </ script >
AMD公司
require . config ( {
paths : {
'jquery' : 'jquery.min' ,
'jquery.animate' : 'jquery.animate.min' ,
}
} )
【文件预览】:
jquery.animate-master
----donations.jpg(47KB)
----jquery.animate.min.js(21KB)
----LICENSE(1KB)
----README.md(8KB)
----jquery.animate.js(56KB)
----中文说明.md(8KB)
----.gitignore(43B)
----package.json(573B)