CarouselOptions
Defined in: components/carousel/carousel.ts:23
Settings for Carousel.
Properties
Section titled “Properties”arrowKeys?
Section titled “arrowKeys?”
optionalarrowKeys?: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.
Default Value
Section titled “Default Value”false
autoplay?
Section titled “autoplay?”
optionalautoplay?: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.
Default Value
Section titled “Default Value”false
autoplaySpeed?
Section titled “autoplaySpeed?”
optionalautoplaySpeed?:number
Defined in: components/carousel/carousel.ts:44
How long autoplay waits between slides, in ms.
Default Value
Section titled “Default Value”2000
current?
Section titled “current?”
optionalcurrent?: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.
Default Value
Section titled “Default Value”0
optionaldots?:boolean
Defined in: components/carousel/carousel.ts:51
Show a dot for each slide.
Default Value
Section titled “Default Value”false
infinite?
Section titled “infinite?”
optionalinfinite?: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.
Default Value
Section titled “Default Value”false
optionalnav?:boolean
Defined in: components/carousel/carousel.ts:58
Show the Next and Previous links.
Default Value
Section titled “Default Value”true
touch?
Section titled “touch?”
optionaltouch?:boolean
Defined in: components/carousel/carousel.ts:72
Swipe to change the slide, on a touch screen.
Default Value
Section titled “Default Value”false