baianat / hooper

🎠 A customizable accessible carousel slider optimized for Vue
https://baianat.github.io/hooper/
MIT License
720 stars 131 forks source link

add support for `spaceBetween` slides property #135

Open AndrewBogdanovTSS opened 5 years ago

AndrewBogdanovTSS commented 5 years ago

Is your feature request related to a problem? Please describe. There is no way of specifying distance between slides.

Describe the solution you'd like a property spaceBetween when specified should create an empty space between slides. It can also be an object, that can host 4 directions properties, smth. like {left: 10, right: 15, top: 10, bottom: 25}

Describe alternatives you've considered css margin can be used for this purpose but setting it manually can potentially brake slide distance calculations

Additional context Add any other context or screenshots about the feature request here.