1.0.0 • Published 6 years ago

@gitpad/rlist-view v1.0.0

Weekly downloads
10
License
MIT
Repository
github
Last release
6 years ago

rlist-view

install

npm i @gitpad/rlist-view

props

  • height: height of your view, can be any valid height in css
  • refresh: A function that return a promise to tell me you have loaded new data(I will hide your refresh component when promise resolved)
  • loadMore: A function that return a promise to tell me you have loaded new data(I will hide your loadMore component when promise resolved)
  • refreshComponent: Customed refresh component, discover more in my example code
  • loadMoreComponent: Customed loadMore component, discover more in my example code
  • threshold to start loadMore, it's (10px) by default
  • useWindowScroll: use the y position of window scrollbar to calculate load more behavior
  • disableInfiniteScroll: close load more feature, when you have loaded all data, you should set this prop to true
  • disableRefresh: close refresh data feature

Who used rlist-view ?

股多多

1.0.0

6 years ago

0.9.9

6 years ago

0.9.8

6 years ago

0.9.4

6 years ago

0.9.3

6 years ago

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago

0.8.3

6 years ago

0.8.2

6 years ago