sachinchoolur / lightGallery

A customizable, modular, responsive, lightbox gallery plugin.
https://www.lightgalleryjs.com/
Other
6.55k stars 1.29k forks source link

slideShowInterval #1637

Closed Yakouaho closed 3 months ago

Yakouaho commented 5 months ago

Description

slideShowInterval parameters don't take effect

JS code that you use to initialize lightGallery.

lightGallery(document.getElementById('gallery'), {
    slideShowInterval: '10000'
});

Sample HTML markup

<div class="grid" id="gallery">
    <figure class="grid-item" data-aos="zoom-in" data-src="./img/img000001.jpg">
        <a href="./img/img000001.jpg"><img src="./img/img000001.jpg" alt="" /></a>
   </figure>
    <figure class="grid-item" data-aos="zoom-in" data-src="./img/img000002.jpg">
        <a href="./img/img000001.jpg"><img src="./img/img000002.jpg" alt="" /></a>
   </figure>
 ...
</div>

Environment

Additional context

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.