Autoplay prop added to watcher
parent
8a6c3dfa9e
commit
46a1139d20
|
@ -76,6 +76,9 @@ export default {
|
||||||
},
|
},
|
||||||
'$attrs.numVisible': function (newVal) {
|
'$attrs.numVisible': function (newVal) {
|
||||||
this.numVisible = newVal;
|
this.numVisible = newVal;
|
||||||
|
},
|
||||||
|
'$attrs.autoPlay': function (newVal) {
|
||||||
|
newVal ? this.startSlideShow() : this.stopSlideShow();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
updated() {
|
updated() {
|
||||||
|
|
Loading…
Reference in New Issue