Docs (4.0.0)
class UIScrollContainer method

scrollToTop

Scroll to the top of the scrollable content, if possible.

scrollToTop(): void

Notes

  • This action may be handled asynchronously, and may not take effect immediately.

Related

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