@@ -53,19 +53,21 @@ slider.setCurrentSlide( 2 );
5353
5454## Attributes
5555
56- | Attribute | Required | Values | Notes |
57- | -----------------| ----------| -----------------| --------------------------------------------------------------------------------------------------------|
58- | flexible-height | No | ` yes ` | Whether the height of the slider changes depending on the content inside the slides |
59- | infinite | No | ` yes ` | Go back to the first slide at the end of all slides, and open the last slide when navigating backwards |
60- | swipe | No | ` yes ` | Whether to add support for swiping gestures on touch devices |
61- | behaviour | No | ` fade ` , ` slide ` | The default behaviour is to slide between slides. This can be updated to fade. |
56+ | Attribute | Required | Values | Notes |
57+ | ---------------------| ----------| -----------------| --------------------------------------------------------------------------------------------------------|
58+ | flexible-height | No | ` yes ` | Whether the height of the slider changes depending on the content inside the slides |
59+ | infinite | No | ` yes ` | Go back to the first slide at the end of all slides, and open the last slide when navigating backwards |
60+ | swipe | No | ` yes ` | Whether to add support for swiping gestures on touch devices |
61+ | behaviour | No | ` fade ` , ` slide ` | The default behaviour is to slide between slides. This can be updated to fade. |
62+ | auto-slide-interval | No | <interval > | Interval in milliseconds. |
6263
6364## Events
6465
65- | Event | Notes |
66- | ----------------| ---------------------------------------------------|
67- | slide-set | When the current slide is set, but before sliding |
68- | slide-complete | After sliding is complete |
66+ | Event | Notes |
67+ | ---------------------| --------------------------------------------------|
68+ | slide-set | When the current slide is set, but before sliding |
69+ | slide-complete | After sliding is complete |
70+ | auto-slide-complete | After auto sliding is complete |
6971
7072## Methods
7173
0 commit comments