SSENSE/vue-carousel

Feature Request: Allow dynamic number of slides

Offen

#268 geöffnet am 20.08.2018

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (513 Forks)batch import
featuregood first issuehelp wanted

Repository-Metriken

Stars
 (1.705 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I have a dynamic number of images I want to display in your carousel. For large screens I want to display up to 8 slides per page. But since the number of images is dynamic I might end up having only 2 images to display. In that case the slide takes up way too much space.

Example: https://codesandbox.io/s/n3mkw7z7q0 I highlighted the background of each slide to easily see how much space it takes up.

It would be great if there was a way to deal with this problem, maybe by being able to set the flex-basis yourself?

Contributor Guide