jquery-throttle:jQuery插件,用于基于requestAnimationFrame的事件限制

时间:2021-05-05 14:58:52
【文件属性】:
文件名称:jquery-throttle:jQuery插件,用于基于requestAnimationFrame的事件限制
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-05 14:58:52
JavaScript jQuery的油门 jQuery插件,用于基于requestAnimationFrame的事件限制 可用性 bower install jquery-throttle 安装 < script src =" bower_components/requestAnimationFrame.js/requestAnimationFrame.js " > </ script > < script src =" bower_components/jquery-throttle/jquery.throttle.js " > </ script > 用法 使用方法与使用jQuery的.on()和.off()相同: $ ( window ) . throttle ( "resize" , function ( ) { // your code here } ) ; $ ( window ) . r
【文件预览】:
jquery-throttle-master
----jquery.throttle.js(1KB)
----bower.json(521B)
----LICENSE(1KB)
----README.md(832B)

网友评论