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

VirtualScrollerInitialParams interface

All VirtualScroller parameters (that may / may not change over time).

Signature:

export interface VirtualScrollerInitialParams extends VirtualScrollerRuntimeParams 

Extends: VirtualScrollerRuntimeParams

Remarks

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

Properties

Property

Modifiers

Type

Description

estimatedScrollElementOffset?

number

(Optional) Estimated distance between top/left edges of scrollable container and first scrollable item.

estimatedWidgetSize?

number

(Optional) Estimated size of scroll element.

horizontal?

boolean

(Optional) Scroll container orientation.