Widgets
Samples
Demos
Forum
Services
Documentation
getScrollState
scrollTo
Start
API Reference
Mixins
Scrollable
Methods
scrollTo
scrolls the data container to a certain position
void
scrollTo
(
number
x
,
number
y
);
x
number
the value of horizontal scroll
y
number
the value of vertical scroll
Example
$$
(
"view"
)
.
scrollTo
(
0
,
40
)
;
Related samples
Scrollview
See also
Articles
Scroll Control
Back to top