Code Monkey home page Code Monkey logo

animate.plug's Introduction

#参数说明 //调用参数
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就在今天诞生了

animate.plug's People

Contributors

yanmr avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.