Reference home > @af-utils/virtual-core > VirtualScrollerRuntimeParams

VirtualScrollerRuntimeParams interface

VirtualScroller parameters that may change over time. Used as VirtualScroller.set() argument type.

Signature:

export interface VirtualScrollerRuntimeParams 

Remarks

Implemented as interface for better documentation output (api-extractor)

Properties

Property

Modifiers

Type

Description

estimatedItemSize?

number

(Optional) Estimated height/width of scrollable item. Orientation is determined by VirtualScrollerInitialParams.horizontal.

itemCount?

number

(Optional) Total items quantity

overscanCount?

number

(Optional) Amount of items rendered before or after visible ones.