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() { diff --git a/doc/galleria/AdvancedDoc.vue b/doc/galleria/AdvancedDoc.vue index 33cf7228b..6e39e9342 100644 --- a/doc/galleria/AdvancedDoc.vue +++ b/doc/galleria/AdvancedDoc.vue @@ -14,7 +14,7 @@ :showItemNavigators="true" :showItemNavigatorsOnHover="true" :circular="true" - :autoPlay="true" + :autoPlay="isAutoPlay" :transitionInterval="3000" >