Documentation

scrollTo

scrolls the data container to a certain position

void scrollTo(number x,number y);

Parameters

xnumberthe value of horizontal scroll
ynumberthe value of vertical scroll

See also

Example

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

Back to top