Autoplay prop added to watcher

pull/3813/head
Furkan Sezis 2023-03-28 17:00:11 +03:00
parent 8a6c3dfa9e
commit 46a1139d20
1 changed files with 3 additions and 0 deletions

View File

@ -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() {