carousel

@Composable
fun IComponent.carousel(fade: Boolean = false, hideControls: Boolean = false, hideIndicators: Boolean = false, autoPlay: Boolean = false, interval: Int = 5000, disableTouch: Boolean = false, activeIndex: Int = 0, prevButtonTitle: String = "Previous", nextButtonTitle: String = "Next", className: String? = null, id: String? = null, content: @Composable ICarousel.() -> Unit)

Creates an Carousel component.

Return

the Carousel component

Parameters

fade

determines if the Carousel items are fading

hideControls

determines if the Carousel controls are hidden

hideIndicators

determines if the Carousel indicators are hidden

autoPlay

determines if the Carousel items are automatically playing

interval

the interval between changing Carousel items

disableTouch

determines if the Carousel items are touch disabled

activeIndex

the index of the initially active item

prevButtonTitle

the title of the previous button

nextButtonTitle

the title of the next button

className

the CSS class name

id

the ID attribute of the Carousel

content

the content of the Carousel