Reference home > @af-utils/virtual-core > VirtualScroller > setScroller

VirtualScroller.setScroller() method

Informs model about scrollable element.

Signature:

setScroller(element: VirtualScrollerScrollElement | null): void;

Parameters

Parameter

Type

Description

element

VirtualScrollerScrollElement | null

scroller element

Returns

void

Remarks

Must be called with null before killing the instance.