InfiniteScrollResource<T>
Defined in: rxdb-react/src/useInfiniteScroll.ts:65
Type Parameters
| Type Parameter |
|---|
T |
Properties
error
readonly error: Error | undefined;
Defined in: rxdb-react/src/useInfiniteScroll.ts:73
最近一次加载错误。
hasMore
readonly hasMore: boolean;
Defined in: rxdb-react/src/useInfiniteScroll.ts:75
是否仍可能存在下一页。
isEmpty
readonly isEmpty: boolean;
Defined in: rxdb-react/src/useInfiniteScroll.ts:69
已完成首次加载且结果为空。
isLoading
readonly isLoading: boolean;
Defined in: rxdb-react/src/useInfiniteScroll.ts:71
当前是否正在加载新页面。
loadMore
readonly loadMore: () => void;
Defined in: rxdb-react/src/useInfiniteScroll.ts:77
加载下一页。
Returns
void
refresh
readonly refresh: () => void;
Defined in: rxdb-react/src/useInfiniteScroll.ts:79
清空当前页面并重新加载第一页。
Returns
void
value
readonly value: T[];
Defined in: rxdb-react/src/useInfiniteScroll.ts:67
已加载页面合并后的实体。