Skip to main content

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?

optional threshold: number

Defined in: src/hooks/useInfiniteScroll.ts:18

Threshold distance from bottom (in pixels) to trigger loading

Default

500

enabled?

optional enabled: boolean

Defined in: src/hooks/useInfiniteScroll.ts:24

Whether infinite scroll is enabled

Default

true

hasMore?

optional hasMore: boolean

Defined in: src/hooks/useInfiniteScroll.ts:30

Whether there are more items to load

Default

true

isLoading?

optional isLoading: boolean

Defined in: src/hooks/useInfiniteScroll.ts:36

Whether currently loading items

Default

false