SlideChangingEventArgs

23 Sep 20251 minute to read

An interface that holds details when changing the slide.

Properties

cancel boolean

Specifies whether the slide transition should occur or not.

currentIndex number

Specifies the index of current slide.

currentSlide HTMLElement

Specifies the element of current slide.

isSwiped boolean

Specifies whether the slide transition occur through swiping or not.

name string

Specifies name of the event.

nextIndex number

Specifies the index of slide to be changed.

nextSlide HTMLElement

Specifies the element of slide to be changed.

slideDirection CarouselSlideDirection

Specifies the slide direction in which transition occurs.