1.1.0 • Published 4 years ago
public-pull-refresh v1.1.0
public-pull-refresh
A Vue.js project
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
#本组件适用移动端页面进行下拉刷新,需要传以下几个值
1)scopeActionHeight--下拉刷新作用域的高度,注意px与rem之间的转换(默认转化规则是rem=2*px/100)
2)moveStartText--开始下拉时展示的文字,如“下拉即可刷新...”
3)moveTrigText--触发刷新时展示的文字,如“释放即可刷新...”
4)pullText--刷新时展示的文字,如“加载中...”
调用refresh方法以刷新页面
、、、
For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).