@@ -70,7 +70,10 @@ While it's not the primary use case of this package, you if you set `slidesPerPa
7070
7171- If there are not enough slides to fill the viewport, slides will be left aligned rather than center aligned.
7272- This hasn't been tested with responsive props or looping. Peeking doesn't make sense for this use case but care hasn't been taken to disabling it.
73- - Pagination controls aren't supported yet, this is purely drag only.
73+ - Pagination controls are in beta
74+ - Pagination is done on a per slide basis
75+ - Looping still has not been implemented
76+ - Slides are left aligned
7477
7578<demos-responsive-variable-width ></demos-responsive-variable-width >
7679
@@ -82,6 +85,24 @@ While it's not the primary use case of this package, you if you set `slidesPerPa
8285</ssr-carousel>
8386```
8487
88+ Carousel with variable width and arrows:
89+
90+ <demos-responsive-variable-width-with-arrows ></demos-responsive-variable-width-with-arrows >
91+
92+ ``` vue
93+ <ssr-carousel data-cy="variable-width" :slides-per-page="null">
94+ <slide :index="1" :style="{ width: '65%', height: '30vw' }"></slide>
95+ <slide :index="2" :style="{ width: '50%', height: '30vw' }"></slide>
96+ <slide :index="3" :style="{ width: '30%', height: '30vw' }"></slide>
97+ <slide :index="4" :style="{ width: '65%', height: '30vw' }"></slide>
98+ <slide :index="5" :style="{ width: '30%', height: '30vw' }"></slide>
99+ <slide :index="6" :style="{ width: '50%', height: '30vw' }"></slide>
100+ <slide :index="7" :style="{ width: '50%', height: '30vw' }"></slide>
101+ <slide :index="8" :style="{ width: '65%', height: '30vw' }"></slide>
102+ <slide :index="9" :style="{ width: '30%', height: '30vw' }"></slide>
103+ </ssr-carousel>
104+ ```
105+
85106Here's an example where there aren't enough slides to exceed the carouel width:
86107
87108<demos-responsive-variable-width-disabled ></demos-responsive-variable-width-disabled >
0 commit comments