Optional
containerA reference to a scrollable container element. If omitted then the window is a container.
An index of the last item, exclusive.
Optional
estimateAn estimated average item size in pixels along the scroll axis, or a callback that returns an estimated size by an item index.
Optional
isRTLIf true
then the horizontal scroll events are interpreted as in an RTL environment.
By default, RTL is derived from a container.
A handler that is called when a container is being scrolled.
An info about the current state of a virtualizer. This object is reused between handler invocations.
Optional
orientationThe orientation of the scroll axis.
Optional
overscanThe minimum number of pixels that should be rendered offscreen before and after a visible range. Additional items are rendered to fulfill this size.
Optional
paddingA padding to apply to the start of a container in pixels.
An index of the first item, inclusive.
Props of the useVirtualizer hook.