Skip to content

Uniform animation original animation plug-in, support, support the buffer animation, animation support multiple object, support for multiple object animation at the same time, support the callback function

Notifications You must be signed in to change notification settings

YanMr/animate.plug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#参数说明 //调用参数
window.onload=function(){
animate(obj,{style:key,style1:key},function(){
//前一个动画结束后,执行的回调函数
animate(obj1,{style:key,style1:key})
})
}
#功能说明
Uniform animation original animation plug-in,
support,
support the buffer animation,
animation support multiple object,
upport for multiple object animation at the same time,
support the callback function
#插件诞生的故事
前天遇到一个客户,他需要写个手机APP主页,然后App主页有个交互效果,
他给我提了一个很奇葩的需求
第一,要用jquery实现这效果
第二,要用JavaScript也同样实现这个效果
当时我就郁闷了,心想:“为什么要这样“?后来得到客户的答案是:”他想学习“!
当时我有种一群乌鸦飞过的感觉! 今天,他效果完成了!
后来想想以后要是遇到这种客户怎么办?
于是,我花了几分时间,把代码单独提取了出来,然后优化了下
于是animate.plug就在今天诞生了

About

Uniform animation original animation plug-in, support, support the buffer animation, animation support multiple object, support for multiple object animation at the same time, support the callback function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published