How to Install

Download the script, include it in your webapp and initialize it:

PullToRefresh.init({ mainElement: '#main', onRefresh: function (done) { setTimeout(function () { done(); alert('refresh'); }, 1500); } });

You can also return a promise, and more. Check out our demos!