scrollTo

set new position of scroller

void scrollTo(number pos);

Parameters

posnumberthe position of scroller

Example

scroll.scrollTo(150);

Back to top