UseInfiniteScrollOptions
Stock Screening Platform - Frontend API v0.1.0
Stock Screening Platform - Frontend API / hooks/useInfiniteScroll / UseInfiniteScrollOptions
Interface: UseInfiniteScrollOptions
Defined in: src/hooks/useInfiniteScroll.ts:13
Configuration options for infinite scroll
Properties
threshold?
optionalthreshold:number
Defined in: src/hooks/useInfiniteScroll.ts:18
Threshold distance from bottom (in pixels) to trigger loading
Default
500
enabled?
optionalenabled:boolean
Defined in: src/hooks/useInfiniteScroll.ts:24
Whether infinite scroll is enabled
Default
true
hasMore?
optionalhasMore:boolean
Defined in: src/hooks/useInfiniteScroll.ts:30
Whether there are more items to load
Default
true
isLoading?
optionalisLoading:boolean
Defined in: src/hooks/useInfiniteScroll.ts:36
Whether currently loading items
Default
false