Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 757 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 757 Bytes

mescroll-for-muiscroll

您的项目中如果使用了mui-scroll, 则需引用本案例中的 mescroll-for-muiscroll.min.js

(注意是您的项目中如果使用了mui区域滚动mui-scroll, 不是使用了mui哦)

mui区域滚动(mui-scroll) 是通过js模拟列表滚动,能够实时获取滚动条的位置
-- 文档: http://dev.dcloud.net.cn/mui/ui/#scroll

mescroll 是原生 div 的 overflow 滚动,性能更优,兼容性更好
-- 文档: https://github.com/mescroll/mescroll

如果想在 mui-scroll 中使用 mescroll 则需引用 mescroll-for-muiscroll.min.js
具体用法请看案例 mescroll-mui-scroll.html 和 mescroll-mui-offcanvas.html , 内部有详细的说明和注释.