OnScrollProps
OnScrollProps =
object
What onScroll receives, at most once per animation frame.
Properties
Section titled “Properties”direction
Section titled “direction”direction:
ScrollDirection
direction is either “forward” or “backward”.
indexesOfVisible
Section titled “indexesOfVisible”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
Section titled “offset”offset:
number
offset is a number.
updateWasRequested
Section titled “updateWasRequested”updateWasRequested:
boolean
updateWasRequested is true when this scroll changed the rendered row range.