scrollTo

scrolls the data container to a certain position

void scrollTo(number x,number y);
xnumberthe value of horizontal scroll
ynumberthe value of vertical scroll

Example

$$("view").scrollTo(0, 40);

Related samples

See also
Back to top