From 46a1139d20756fc0fc7b320560a8ea73e96fa02f Mon Sep 17 00:00:00 2001 From: Furkan Sezis Date: Tue, 28 Mar 2023 17:00:11 +0300 Subject: [PATCH] Autoplay prop added to watcher --- components/lib/galleria/GalleriaContent.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/lib/galleria/GalleriaContent.vue b/components/lib/galleria/GalleriaContent.vue index a56d259b3..4313130b3 100755 --- a/components/lib/galleria/GalleriaContent.vue +++ b/components/lib/galleria/GalleriaContent.vue @@ -76,6 +76,9 @@ export default { }, '$attrs.numVisible': function (newVal) { this.numVisible = newVal; + }, + '$attrs.autoPlay': function (newVal) { + newVal ? this.startSlideShow() : this.stopSlideShow(); } }, updated() {