Refresher for weapp
npm install -S afeiship/next-weapp-refresher --registry=https://registry.npm.taobao.org
api | description |
---|---|
start | 开始下拉刷新 |
stop | 停止当前页面下拉刷新。 |
import NxWeappRefresher from 'next-weapp-refresher';
// promise:
NxWeappRefresher.start();
NxWeappRefresher.stop();