Open davecar21 opened 4 years ago
Is this expected behavior when there is only one image in the slider the lSPager is still showing. Also this occurs on lightGallery when there is only one image, it shows 1 thumb image. I think it is because of the autoWidth:true that causes this.
autoWidth:true
https://codepen.io/davecar21/pen/KKwMWJO
$('#autoWidth').lightSlider({ autoWidth:true, loop:true, enableDrag: false, onSliderLoad: function() { } });
I wanted to hide the lSPager when there is only one image in the slider. I can be able to do these via adding code on onSliderLoad.
onSliderLoad
but is there any other way to be able to hide lSPager when there is one image on the slider?
Is this expected behavior when there is only one image in the slider the lSPager is still showing. Also this occurs on lightGallery when there is only one image, it shows 1 thumb image. I think it is because of the
autoWidth:true
that causes this.https://codepen.io/davecar21/pen/KKwMWJO![image](https://user-images.githubusercontent.com/17526518/71329664-ba3ffd80-2562-11ea-8abb-50a6cc8d30fc.png)
I wanted to hide the lSPager when there is only one image in the slider. I can be able to do these via adding code on
onSliderLoad
.but is there any other way to be able to hide lSPager when there is one image on the slider?