Optional ReadonlyanimateAnimation options for items entering/exiting the viewport.
Optional ReadonlyestimatedEstimated height for variable-height items. The list will measure actual heights and adjust positioning. Either itemHeight or estimatedHeight must be provided.
Optional ReadonlyheightHeight of the scrollable viewport. Can be a number (pixels) or CSS string like "100%" or "400px". Default: "100%" (fills parent container)
Optional ReadonlyitemFixed height for all items in pixels. Use this for best performance when all items have the same height. Either itemHeight or estimatedHeight must be provided.
ReadonlykeyFunction to extract a unique key from each item. Used for efficient updates and item identity.
Optional ReadonlyonCallback when the visible range changes.
Optional ReadonlyoverscanNumber of items to render above/below the visible area. Higher values reduce flicker during fast scrolling but use more memory. Default: 3
Optional ReadonlyrefOptional ref to access scroll control methods. Create with VirtualListRef.make()
ReadonlyrenderRender function for each item. Receives a Signal for the item data and its index.
Options for virtualEach.