useInfiniteScroll()
function useInfiniteScroll<T>(EntityType, options): InfiniteScrollResource<InstanceType<T>>;
Defined in: use-infinite-scroll.ts:17
从当前 Angular 注入上下文创建无限滚动资源。
Type Parameters
| Type Parameter |
|---|
T extends EntityType |
Parameters
| Parameter | Type |
|---|---|
EntityType | T |
options | InfiniteScrollOptions<T> |
Returns
InfiniteScrollResource<InstanceType<T>>