-
Notifications
You must be signed in to change notification settings - Fork 87
Pagination API
Vito Chen edited this page May 11, 2017
·
2 revisions
Props | Default | Type | Description |
---|---|---|---|
pagination | true | bool | Set it to false, if you do not want to use the pagination feature. |
autoPagination | true | bool | Set it to true to enable the auto pagination, if you want the feature of infinite-scrolling. |
onEndReachedThreshold | 50 | number | Threshold in pixels (virtual, not physical) for calling onEndReached |
allLoadedText | 'The End' | string | The text displayed in the paginationAllLoadedView |
spinnerColor | 'gray' | string | The color of the loading spinner in the Footer |
fetchingSpinnerSize | 'large' | string | The size of the loading spinner in the paginationFetchingView |
waitingSpinnerSize | 'small' | string | The size of the loading spinner in the paginationWaitingView |
waitingSpinnerText | 'Loading...' | string | The text displayed in the paginationWaitingView, if the autoPagination is set to be true |
paginationBtnText | 'Load more...' | string | The text displayed in the paginationWaitingView, if the autoPagination is set to be false |