CaSliderDots
Dots for CaSlider
SASS-path: ./styles/components/atoms/ca-slider-dots.scss
Props
Name | Description | Type | Required | Default |
---|---|---|---|---|
slides | Array of the corresponding slides | Array | true | - |
visible | Should dots be visible? | Boolean | false | false |
currentSlide | Current slide index | Number | true | - |
slidesToScroll | Number of slides per dot | Number | true | - |
Events
Event Name | Description | Parameters |
---|---|---|
navigation | - | - |
Methods
Method | Description | Parameters |
---|---|---|
getCurrentClass | Returns current class to dot if that slide is active | index (Number) |