SSENSE / vue-carousel

A flexible, responsive, touch-friendly carousel for Vue.js
https://ssense.github.io/vue-carousel/
MIT License
1.72k stars 505 forks source link

How to move slides one at a time? #511

Open vadim-dudin opened 4 years ago

vadim-dudin commented 4 years ago

Is it possible to move slides one at a time, if there are several on one page? I read all the documentation and did not find any properties or events that would help to move one slide at a time, and not the entire page.

ckhatton commented 4 years ago

Apply the option :scrollPerPage="true" to the carousel component. Otherwise it should slide per item by default.

P.S. It looks like this project is dead 😞

lazehang commented 4 years ago

@ckhatton the scrollPerPage should be set to false in order to move by item as it's value is true by default.

:scrollPerPage="false"

ckhatton commented 4 years ago

@lazehang Are you sure? It says "false" is the default in the API documentation.

https://ssense.github.io/vue-carousel/api/

API - Vue Carousel

lazehang commented 4 years ago

Check this link https://github.com/SSENSE/vue-carousel#configuration

It’s from the github documentation. Not sure which one is relevant though.

ckhatton commented 4 years ago

Oh dear. It looks like we'll have to agree to disagree 🤝 It seems this repo needs a good sorting out.

bitmoji