Widgets
Samples
Demos
Forum
Services
Documentation
adjust
attachEvent
bind
blockEvent
callEvent
define
destructor
detachEvent
disable
enable
getChildViews
getFormView
getNode
getParentView
getScrollState
getTopParentView
getValues
hasEvent
hide
isEnabled
isVisible
load
mapEvent
parse
queryView
refresh
render
resize
scrollTo
setContent
setHTML
setValues
show
sync
unbind
unblockEvent
Start
API Reference
ui.template
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