Vue-carousel: Question: How can I only have one slide per page?

Created on 8 Feb 2018  路  4Comments  路  Source: SSENSE/vue-carousel

Love this super simple carousel! Holy crap setup / read and rolling in 30 minutes! Would be nice to be able to have only 1 review at a time of the design calls for it. However it only goes to 2 as a minimum.

question

All 4 comments

Hey @roni-estein, you can achieve this result with :perPageCustom, see an example fiddle here -> https://jsfiddle.net/4c05cesu/1/

add :perPage="1" on carousel tag

<carousel :perPage="1">
    <slide>
      Slide 1 Content
    </slide>
    <slide>
      Slide 2 Content
    </slide>
    <slide>
      Slide 3 Content
    </slide>
</carousel>

Going to go ahead and close this since we haven't heard from anyone in a bit. If anyone has any questions/input feel free to open a new issue :octocat:

I cannot get this to go to 1 per page, why would you put 2 as a minimum? ruins the whole component, otherwise its great but going to use something else

Was this page helpful?
0 / 5 - 0 ratings