Open skineeleggz opened 3 years ago
It would be nice if there was a prop available so that when lightbox shows, we can autoplay the slideshow (so that user doesn't have to click the "play" button)
Is there an easy way using the "open" event?
That is possible by using refs. Use in your template:
<CoolLightBox ref="lightbox" ... />
Call this.$refs.lightbox.togglePlaySlideshow(); in your code to start playing
this.$refs.lightbox.togglePlaySlideshow();
It would be nice if there was a prop available so that when lightbox shows, we can autoplay the slideshow (so that user doesn't have to click the "play" button)
Is there an easy way using the "open" event?