vue-ss-fix-timer
v1.0.4
Published
<h1 align="center">vue-ss-fix-timer</h1>
Downloads
2
Maintainers
Readme
注意:
组件基于vue-seamless-scroll(v1.1.23),感谢原作者,我仅根据需要调整了requestAnimationFrame与setTimeout的使用控制,尝试解决不同设备帧率不同时轮播速度差异大的问题,如有不足请指正。
Features
- Initial configuration support
- Compatible with multiple platforms
- Multi-technology stack version support
Documentation
To check out live examples and docs, visit vue-seamless-scroll-doc.
- 新增参数:
- useTimer: false, // 是否将requestAnimationFrame方式换为setTimeout
- useTimerTime: 1000/60 // setTimeout延迟执行毫秒数
Cares
If you want js to scroll seamlessly (without dependencies) you can switch to here.seamscroll.
Contribution
Welcome to give some Suggestions and optimizations, and look forward to your Pull Request
.
License
vue-seamless-scroll is open source and released under the MIT License.