diff --git a/dev/components/components/slider.vue b/dev/components/components/slider.vue
index 11e3160890e..334f2315246 100644
--- a/dev/components/components/slider.vue
+++ b/dev/components/components/slider.vue
@@ -34,7 +34,7 @@
- Slider with Centered Content and Infinite Scrolling
+ Slider with Centered Content and Infinite Scroll
@@ -48,6 +48,21 @@
+
+ Slider with Infinite Scroll and Autoplay
+
+
+
+ Slide 1
+
+
+ Slide 2
+
+
+ Slide 3
+
+
+
Slider with Custom Actions as Controls
diff --git a/src/vue-components/slider/Slider.vue b/src/vue-components/slider/Slider.vue
index b0de2a07dfd..344df8abb0d 100644
--- a/src/vue-components/slider/Slider.vue
+++ b/src/vue-components/slider/Slider.vue
@@ -106,9 +106,7 @@ export default {
},
methods: {
__pan (event) {
- console.log('__pan')
if (this.infinite && this.animationInProgress) {
- console.log('return', this.infinite, this.animationInProgress)
return
}
if (!this.hasOwnProperty('initialPosition')) {
@@ -135,13 +133,11 @@ export default {
this.positionSlide = (event.direction === 'left' ? this.slide + 1 : this.slide - 1)
if (event.isFinal) {
- console.log('final')
this.goToSlide(
event.distance.x < 100
? this.slide
: this.positionSlide,
() => {
- console.log('deleting initialPosition')
delete this.initialPosition
}
)