Skip to content

CarouselOptions

Defined in: components/carousel/carousel.ts:23

Settings for Carousel.

optional arrowKeys?: boolean

Defined in: components/carousel/carousel.ts:65

The left and right arrow keys change the slide. The carousel, or something inside it, has to have the focus.

false


optional autoplay?: boolean

Defined in: components/carousel/carousel.ts:37

Move to the next slide by itself, every autoplaySpeed. Any use of the carousel (a button, a dot, a key, a swipe, next(), prev() or goTo()) stops it.

false


optional autoplaySpeed?: number

Defined in: components/carousel/carousel.ts:44

How long autoplay waits between slides, in ms.

2000


optional current?: number

Defined in: components/carousel/carousel.ts:29

The slide to start on, counting from 0. A number past the last slide starts on the last one.

0


optional dots?: boolean

Defined in: components/carousel/carousel.ts:51

Show a dot for each slide.

false


optional infinite?: boolean

Defined in: components/carousel/carousel.ts:79

Go from the last slide to the first, and from the first to the last, as if the slides were in a loop.

false


optional nav?: boolean

Defined in: components/carousel/carousel.ts:58

Show the Next and Previous links.

true


optional touch?: boolean

Defined in: components/carousel/carousel.ts:72

Swipe to change the slide, on a touch screen.

false