Widgets
Samples
Demos
Forum
Services
Documentation
add
adjust
attachEvent
bind
blockEvent
callEvent
clearAll
count
customize
define
destructor
detachEvent
disable
enable
exists
filter
find
getChildViews
getFirstId
getFormView
getIdByIndex
getIndexById
getItem
getItemNode
getLastId
getNextId
getNode
getParentView
getPrevId
getScrollState
getTopParentView
hasEvent
hide
isEnabled
isVisible
load
loadNext
locate
mapEvent
parse
queryView
refresh
remove
render
resize
scrollTo
serialize
show
showItem
sort
sync
unbind
unblockEvent
updateItem
waitSave
Start
API Reference
ui.timeline
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