var PullToReload = require('pull-to-reload.js');
PullToReload({
scroller: $('body'),
onPullEnd: function(cb) {
setTimeout(function() {
cb && cb();
}, 2000);
}
})
zilong-thu / pull-to-reload.js Goto Github PK
View Code? Open in Web Editor NEWJavaScript tool to reload a page.
License: MIT License