SlideChangedEventArgs

23 Sep 20251 minute to read

An interface that holds details once slide change done.

Properties

currentIndex number

Specifies the index of current slide.

currentSlide HTMLElement

Specifies the element of current slide.

isSwiped boolean

Specifies whether the slide transition done through swiping or not.

name string

Specifies name of the event.

previousIndex number

Specifies the index of slide from which it changed.

previousSlide HTMLElement

Specifies the element of slide from which it changed.

slideDirection CarouselSlideDirection

Specifies the slide direction in which transition occurred.