antonreshetov / vue-glide

A slider and carousel as vue component on top of the Glide.js
https://antonreshetov.github.io/vue-glide/
MIT License
269 stars 39 forks source link

bullet by slide and breakpoints #25

Open luger95 opened 5 years ago

luger95 commented 5 years ago

Currently bullets are based solely on the number of slides. But if we use slide and breackpoints the bullet should take into consideration the two parameters.

Exemple : `<vue-glide type="slider" :breakpoints="{ 600: { perView: 1 }, }," :rewind="false" :gap="10" :bullet="true" :per-view="2"

`

With this example, logically, the number of bullet should be two, not three.