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

VirtualScroller.detachItem() method

End observing size of element

Signature:

detachItem(element: HTMLElement): void;

Parameters

Parameter

Type

Description

element

HTMLElement

element for item

Returns

void

Remarks

Should be called when element is about to unmount or already unmounted. Works in pair with VirtualScroller.attachItem().