Carousel

class Carousel(element: HTMLElement) : JsAny

External Bootstrap Carousel class.

Constructors

Link copied to clipboard
constructor(element: HTMLElement)

Functions

Link copied to clipboard
fun cycle()

Cycles through the carousel items from left to right.

Link copied to clipboard
fun dispose()

Disposes the carousel.

Link copied to clipboard
fun next()

Show next item.

Link copied to clipboard
fun pause()

Stops the carousel from cycling through items.

Link copied to clipboard
fun prev()

Show previous item.

Link copied to clipboard
fun to(index: Int)

Show an item identified by its index.