Docs (4.0.0)
class UIScrollContainer method

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 UIScrollContainer.ScrollEventData.

Related

  • class UIScrollContainerA view class that represents a container component that allows users to scroll, emitting asynchronous scroll events.