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

VirtualScroller.setItemCount() method

Notify model about items quantity change

Signature:

setItemCount(itemCount: number): void;

Parameters

Parameter

Type

Description

itemCount

number

new items quantity. VirtualScrollerRuntimeParams.itemCount

Returns

void