CarouselΒΆ
jQuery Plugin
$.fn.carousel()
jQuery data key
IU_WIDGET.CAROUSEL
- Example
var Carousel = $('#id').data(IU_WIDGET.CAROUSEL)
Option
Member description .callbackMove
Callback function when the animation has finished Method
Method description .reload()
Reload carousel .destroy()
Destroy carousel .pause()
Pause carousel if carousel is set autoplay .start()
Start carousel if carousel is set autoplay .moveNext()
Go to next item .movePrev()
Go to prev item .moveCurrent()
Reset to current item .move(index, translateX)
Go to (index) item with translateX value Method Detail
Method Param Type Description .move(index, translateX)
toIndex number index of carousel item translateX number css : translateX