InfiniteScrollingList<T>
Defined in: InfiniteScrollingList.ts:12
无限滚动的列表
Type Parameters
| Type Parameter |
|---|
T extends EntityType |
Constructors
Constructor
new InfiniteScrollingList<T>(
rxdb,
EntityType,
options): InfiniteScrollingList<T>;
Defined in: InfiniteScrollingList.ts:29
Parameters
| Parameter | Type |
|---|---|
rxdb | RxDB |
EntityType | T |
options | InfiniteScrollOptions<T> |
Returns
InfiniteScrollingList<T>
Properties
error
readonly error: WritableSignal<Error | undefined>;
Defined in: InfiniteScrollingList.ts:22
hasMore
readonly hasMore: WritableSignal<boolean>;
Defined in: InfiniteScrollingList.ts:24
hasValue
readonly hasValue: Signal<boolean>;
Defined in: InfiniteScrollingList.ts:26
isEmpty
readonly isEmpty: Signal<boolean>;
Defined in: InfiniteScrollingList.ts:27
isLoading
readonly isLoading: WritableSignal<boolean>;
Defined in: InfiniteScrollingList.ts:23
value
readonly value: Signal<InstanceType<T>[]>;
Defined in: InfiniteScrollingList.ts:25
Methods
loadMore()
loadMore(): void;
Defined in: InfiniteScrollingList.ts:52
Returns
void
refresh()
refresh(): void;
Defined in: InfiniteScrollingList.ts:106
刷新列表数据
Returns
void