ScrollBox.scrollTo

Syntax

scrollTo (X, Y)

Parameters

X. Position of horizontal scrollbar slider.

Y. Position of vertical scrollbar slider.

Description

The scrollTo method sets positions for sliders on horizontal and vertical scrollbars.

Comments

Parameters value is relative and show percentage of scrolled content.

Example

The example of method use is given in description of the getHorizontalScroll method.

See also:

ScrollBox