joe223 / tiny-swiper

Ingenious JavaScript Carousel powered by wonderful plugins. Lightweight yet extensible. Import plugins as needed, No more, no less.
https://tiny-swiper.js.org
1.29k stars 58 forks source link

Makes pagination bullets number dynamic #86

Open Hrva994 opened 1 year ago

Hrva994 commented 1 year ago

I have encoutered a problem when using breakpoints, slidesPerView and pagination. Seems that pagination bullets are rendered only on swiper "after-init" Event. Now the bullets are rendered and calculated again when it comes to slide change or resize.