Reference

calculateVirtualRange

Calculates the visible and overscanned range for a fixed-size virtual list or grid. The result includes spacer sizes, visible row/index bounds, overscanned row/index bounds, and total scroll size.

Signature

function calculateVirtualRange(options: VirtualRangeOptions): VirtualRange