Documentation

scrollTo()

Scrolls to the specified pair of vertical and horizontal offset values.

scrollTo(yOffset?: number, xOffset?: number): void;

Note
Positioning is platform dependent and may also change with text direction. Use only offset values taken from UIScrollView.ScrollEventData.

Related