用了选卡项做的上拉下拉效果,要如何初始化上拉一下呢,大约的代码如下
$.each(document.querySelectorAll('.mui-slider-group .mui-scroll'), function(index, pullRefreshEl) {
$(pullRefreshEl).pullToRefresh({
down: {
callback: function() {
......
},
up: {
}}});
0 个回复