SSENSE/vue-carousel

Feature Request: Support variable slide widths

Offen

#61 geöffnet am 15.06.2017

 (12 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (513 Forks)batch import
featurehelp wanted

Repository-Metriken

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

Beschreibung

Hi there. Thanks for providing this slider in the first place 🙌🏻. But I have the following problem: I have a slider with images with variable widths (when height is matched). Lets imagine that the first image is about 70% width of the screen, and the second is just next to it. So first I want to display the first image and 30% should already be filled by the second image. If it slides 1 slide, I want it to stop as soon as the left edge of the second image is at the left edge of the slider wrapper. I see that I can adjust the perPage setting, but this would sometimes mess up my slides (I get empty slides at the end) or some images are never displayed. And most of all: so far all my slides have the same width...

Maybe you can give me a hint how to get this done. cheers

I have made some visualization what I am looking for: image image

Contributor Guide