Feature to provide bullets as slot? #63
coderpradp
started this conversation in
Ideas
Replies: 1 comment
-
I decided to create a pull request for this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, vue-glide generates bullets automatically for us when prop
bullet = true
. This limits us from customizing the bullet.For example, consider I have 4 slides and I have perView set to 1 for breakpoint > 1000 and perView 3 on breakpoint <= 1000 along with bound, autoplay and rewind true. So, on breakpoint <= 1000, there will be 4 bullets however during autoplay the active state changes only for first two bullets. The last two bullets are not even necessary to be honest.
Here is a demo of the above example: https://codesandbox.io/s/vigorous-resonance-gr4fh
So, it would be awesome if we could pass our own bullets as slot.
Beta Was this translation helpful? Give feedback.
All reactions