目录

How do I obtain the current scrolling offset of a scrollable component?

  1. During initialization of the scrollable component, set the scroller parameter to bind the component to a scroll controller.
  2. Call the currentOffset API of the controller to obtain the horizontal and vertical scrolling offsets.

Reference

Scroll