All Projects → bajian → Vue Pull To Refresh

bajian / Vue Pull To Refresh

vue.js,refresh,load more,Vue2.0 上下拉刷新

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vue Pull To Refresh

Liquid Pull To Refresh
🔁 A custom refresh indicator for flutter.
Stars: ✭ 769 (+496.12%)
Mutual labels:  pull-to-refresh
Pulltorefresh
This component implements pure pull-to-refresh logic and you can use it for developing your own pull-to-refresh animations
Stars: ✭ 1,150 (+791.47%)
Mutual labels:  pull-to-refresh
Liquidrefreshlayout
Liquid Refresh Layout is a simple SwipeToRefresh library that helps you easily integrate SwipeToRefresh and performs simple clean liquid animation
Stars: ✭ 114 (-11.63%)
Mutual labels:  pull-to-refresh
Pullrefresh
前端, 下拉刷新
Stars: ✭ 7 (-94.57%)
Mutual labels:  pull-to-refresh
Pulltorefresh H5 Iscroll
基于IScroll5的PullToRefresh实现.。提供多套皮肤机制,便于拓展!
Stars: ✭ 56 (-56.59%)
Mutual labels:  pull-to-refresh
Qrefreshlayout
下拉刷新,上拉加载更多,自动加载更多,用法同SwipeRefreshLayout,兼容所有view,兼容nested滚动,可以自定义header footer,支持下拉到二楼
Stars: ✭ 75 (-41.86%)
Mutual labels:  pull-to-refresh
Pullrefreshlayout
下拉刷新,上拉加载,真实的回弹(overscroll)效果(媲美qq),且大小只有37KB(是其他主流刷新库或回弹库的1/2,1/3,甚至是1/4),同时,自定义header和footer,可以实现任何你想的到的功能(例如:自动触发加载更多、二级刷新等)
Stars: ✭ 639 (+395.35%)
Mutual labels:  pull-to-refresh
Mrefresh
This pod enables you to add pull-to-refresh mechanism to your scrollviews and tableviews and use svg patterns in your refreshing view's layers.
Stars: ✭ 123 (-4.65%)
Mutual labels:  pull-to-refresh
Ultimaterefreshview
UltimateRefreshView 实现下拉刷新,上拉加载更多的轻量级库;支持RecyclerView ,ListView ,ScrollView & WebView
Stars: ✭ 64 (-50.39%)
Mutual labels:  pull-to-refresh
Pull To Make Soup
Custom animated pull-to-refresh that can be easily added to RecyclerView
Stars: ✭ 1,443 (+1018.6%)
Mutual labels:  pull-to-refresh
Crrefresh
An easy way to use pull-to-refresh
Stars: ✭ 832 (+544.96%)
Mutual labels:  pull-to-refresh
Kafkarefresh
Animated, customizable, and flexible pull-to-refresh framework for faster and easier iOS development.
Stars: ✭ 1,033 (+700.78%)
Mutual labels:  pull-to-refresh
Fungamerefresh
好玩的下拉刷新控件,让我们一起来回味童年
Stars: ✭ 1,307 (+913.18%)
Mutual labels:  pull-to-refresh
Swiperefreshlayout
swipeRefreshLayout refresh pull-to-refresh
Stars: ✭ 26 (-79.84%)
Mutual labels:  pull-to-refresh
Pull To Refresh
ESPullToRefresh is developed and maintained by Vincent Li. If you have any questions or issues in using ESPullToRefresh, welcome to issue. If you want to contribute to ESPullToRefresh, Please submit Pull Request, I will deal with it as soon as possible.
Stars: ✭ 1,591 (+1133.33%)
Mutual labels:  pull-to-refresh
Vue Pull To
⚡️ A pull-down refresh and pull-up load more and infinite scroll component for Vue.js --Vue下拉刷新组件
Stars: ✭ 708 (+448.84%)
Mutual labels:  pull-to-refresh
Flutter refresh
A Flutter plugin for refreshing every scrollable view by pulling down-up.
Stars: ✭ 70 (-45.74%)
Mutual labels:  pull-to-refresh
Xrefreshlayout
【已过时,不再更新,请使用更强大的SmartRefreshLayout!】A refresh layout(无侵入下拉刷新和加载布局), can refresh RecyclerView for all LayoutManager, NestedScrollView。
Stars: ✭ 127 (-1.55%)
Mutual labels:  pull-to-refresh
Minirefresh
优雅的H5 下拉刷新。零依赖,高性能,多主题,易拓展。(A Graceful HTML5 Drop-Down-Refresh Plugin. )
Stars: ✭ 1,525 (+1082.17%)
Mutual labels:  pull-to-refresh
React Native Rk Pull To Refresh
a pull to refresh component for react-native, same api on both android and ios
Stars: ✭ 100 (-22.48%)
Mutual labels:  pull-to-refresh

pull2refresh

alternatively pull down or pull up or both for Vue2.+

A Vue.js project with vue-cli3

demo

live-demo

Build Setup DEMO

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run serve

# build for production with minification
npm run build
  <pull-to-refresh
    @on-pullup='onPullup'
    @on-pulldown='onPulldown'>
    <ul>
      <li :key="index" v-for="(item, index) in items">
        # item {{ index }} 
      </li>
    </ul>
  </pull-to-refresh>
import PullToRefresh from './components/pull-to-refresh'

onPullup(finshCallback) {
      setTimeout(()=>{
        this.items=this.items.concat([6,6,6,6,6,6,6,6,6,6,6])
        finshCallback();//finish the refreshing state
      },3000);
    }

Api

Properties

Name Type Default Description
disable-pullup Boolean false set true to disable pullup function
disable-pulldown Boolean false set true to disable pulldown function
on-pullup Function undefined the pullup listener with a finshCallback param to tell it to finsh refreshing state
on-pulldown Function undefined the pulldown listener with a finshCallback param to tell it to finsh refreshing state
==================== ========= ============ ===================

for convenience & efficiency ,i donot set the tips and timeout editable, if u want to edit ,just edit as u like:

const PULL_DOWN_NORMAL='下拉刷新'
const PULL_DOWN_RELEASE='释放加载'
const PULL_DOWN_LOADING='加载中,请稍后'

const PULL_UP_NORMAL='上拉刷新'
const PULL_UP_RELEASE='释放加载'
const PULL_UP_LOADING='加载中,请稍后'

timeout=30000//the 30s timeout of reseting refreshing state if u donnot call the finshCallback
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].