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

VirtualScroller.setStickyFooter() method

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

Signature:

setStickyFooter(element: HTMLElement | null): void;

Parameters

Parameter

Type

Description

element

HTMLElement | null

footer element

Returns

void

Remarks

Must be called with null before killing the instance.