From 46a1139d20756fc0fc7b320560a8ea73e96fa02f Mon Sep 17 00:00:00 2001 From: Furkan Sezis Date: Tue, 28 Mar 2023 17:00:11 +0300 Subject: [PATCH 1/3] 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() { From c1fab8f3fb36bbb683a5de17fbbbb8e36520c318 Mon Sep 17 00:00:00 2001 From: Furkan Sezis Date: Tue, 28 Mar 2023 17:00:36 +0300 Subject: [PATCH 2/3] Galleria AdvancedDoc updated --- doc/galleria/AdvancedDoc.vue | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/doc/galleria/AdvancedDoc.vue b/doc/galleria/AdvancedDoc.vue index 33cf7228b..bb1a4fb67 100644 --- a/doc/galleria/AdvancedDoc.vue +++ b/doc/galleria/AdvancedDoc.vue @@ -14,7 +14,7 @@ :showItemNavigators="true" :showItemNavigatorsOnHover="true" :circular="true" - :autoPlay="true" + :autoPlay="isPlayed" :transitionInterval="3000" >