Skip to main content

CaSliderDots

Dots for CaSlider

SASS-path: ./styles/components/atoms/ca-slider-dots.scss

Props

NameDescriptionTypeRequiredDefault
slidesArray of the corresponding slidesArraytrue-
visibleShould dots be visible?Booleanfalsefalse
currentSlideCurrent slide indexNumbertrue-
slidesToScrollNumber of slides per dotNumbertrue-

Events

Event NameDescriptionParameters
navigation--

Methods

MethodDescriptionParameters
getCurrentClassReturns current class to dot if that slide is activeindex (Number)