glide icon indicating copy to clipboard operation
glide copied to clipboard

Bullets and perView option

Open cutme opened this issue 6 years ago • 1 comments

const glide = new Glide(best, { type: 'carousel', perView: 3 })

Click on bullet move the slide per one item.. It is possible to jump 3 items per view?

cutme avatar Mar 07 '19 12:03 cutme

As a quick fix, I've updated my CSS to hide bullets based on how many slides are viewed per page. For example, if my perView is 3, I set .glide__bullet { display: none; } and .glide__bullet:nth-child(3n + 1) { display: block; } to only show the bullet for the first slide of each "page". (This would be slightly different if you use focusAt setting as well.)

abstractpenguin avatar Apr 08 '21 17:04 abstractpenguin