Samples
Forum
Support
Documentation
adjust
adjustScroll
attachEvent
bind
blockEvent
callEvent
define
destructor
detachEvent
disable
enable
getActiveId
getActiveIndex
getChildViews
getFormView
getLayout
getNode
getParentView
getTopParentView
hasEvent
hide
isEnabled
isVisible
mapEvent
resize
scrollTo
setActive
setActiveIndex
show
showNext
showPrev
unbind
unblockEvent
Start
API Reference
ui.carousel
Methods
getActiveIndex
gets the index of the current active item
number
getActiveIndex
();
Returns
number
index of the current active item
See also
api
getActiveId
setActive
setActiveIndex
articles
Carousel
Example
var
index
=
$$
(
"mycarousel"
)
.
getActiveIndex
(
)
;
Back to top