requestAnimationFrame
介绍
Paul Irish和ErikMöller的requestAnimationFrame polyfill。 这只是AMD模块化的Bower-ready-ready。
## 安装 ##
与凉亭:
bower install requestAnimationFrame
使用src =“ requestAnimationFrame.js”
将app / requestAnimationFrame.js包含到您的html页面中
< script src =" [path_to_source]/requestAnimationFrame.js> " > </ script >
## 用 ##
这是一个polyfill,只需使用requestAnimationFrame即可。
与amd
将requestAnimationFrame指向[bo
评论0
最新资源