Skip to content

OnScrollProps

OnScrollProps = object

What onScroll receives, at most once per animation frame.

direction: ScrollDirection

direction is either “forward” or “backward”.


indexesOfVisible: number[]

The indexes of the cards in the rows that show more than thresholdOfVisible of the card height. Loading cards are not included.


offset: number

offset is a number.


updateWasRequested: boolean

updateWasRequested is true when this scroll changed the rendered row range.