Home > widget-integration > CarouselState

CarouselState interface

Carousel state for tracking slide position and configuration. Used internally by the controller to manage the native CSS/JS carousel.

Signature:

export interface CarouselState 

Properties

Property

Modifiers

Type

Description

containerElement

HTMLElement | null

currentIndex

number

sliderElement

HTMLElement | null

slidesPerView

number

slideWidth

number

totalSlides

number