mui获取页面滚动距离

var scroll = mui('.mui-scroll-wrapper').scroll();

document.querySelector('.mui-scroll-wrapper').addEventListener('scroll',function (e) {
  console.log(scroll.y);
})

posted @ 2016-05-13 16:03  枫止叶落  阅读(5787)  评论(0编辑  收藏  举报