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

VirtualScroller.getSize() method

Get last cached item size by item index

Signature:

getSize(itemIndex: number): number;

Parameters

Parameter

Type

Description

itemIndex

number

item index;

Returns

number

last cached item size

Remarks

Time complexity: O(1)