vue-throttle-event-基于requestAnimationFrame的油门事件。-Vue.js开发

时间:2021-05-27 23:00:28
【文件属性】:
文件名称:vue-throttle-event-基于requestAnimationFrame的油门事件。-Vue.js开发
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-27 23:00:28
Vue.js Event Handling 基于requestAnimationFrame状态功能的vue-throttle-event节流事件使用requestAnimationFrame公开一个称为$ throttl的距离方法基于requestAnimationFrame状态属性的vue-throttle-event节流事件使用每个API的Vue组件中公开一个名为$ throttle的距离方法。准备安装npm $ npm install vue-throttle-event --save-dev Vue的main.js从'vue-throttle-event'导入VueThrottleEvent Vue.use(VueThrottleEvent)使用示例方法:{customEventHandler(e){// e。 detail.origin是原始事件对象// //
【文件预览】:
vue-throttle-event-master
----.travis.yml(971B)
----.babelrc(49B)
----package.json(788B)
----test()
--------test.js(3KB)
----LICENSE(1KB)
----dist()
--------vue-throttle-event.js(2KB)
----src()
--------index.js(808B)
----.gitignore(38B)
----webpack.config.js(547B)
----README.md(2KB)

网友评论