Creates a new viewport scroller.
A function that returns the element used as viewport.
The top offset used when scrolling to an element.
Scrolls to the specified anchor.
The identifier or name of an elment.
Value indicating whether scrolling is instant or animates smoothly.
Scrolls to the specified element.
The element to scroll to.
Value indicating whether scrolling is instant or animates smoothly.
Scrolls to the specified position.
The pixel along the horizontal axis.
The pixel along the vertical axis.
Value indicating whether scrolling is instant or animates smoothly.
Scrolls to the top.
Value indicating whether scrolling is instant or animates smoothly.
Manages the scroll position.