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

VirtualScroller.setStickyHeader() method

Start observing size of sticky header element. Observing is finished if element is null.

Signature:

setStickyHeader(element: HTMLElement | null): void;

Parameters

Parameter

Type

Description

element

HTMLElement | null

header element

Returns

void

Remarks

Must be called with null before killing the instance.