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

VirtualScroller.updateScrollerOffset() method

Recalculates the offset between scroller element and container element.

Signature:

updateScrollerOffset(): void;

Returns

void

Remarks

By default debounced at 256 milliseconds and called automatically when:

Normally this is enough, needed only if something else would trigger this offset change.