-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from BKWLD/slide-width-based-on-client
Add Pagination for Variable Width Slides
- Loading branch information
Showing
6 changed files
with
83 additions
and
7 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
demo/components/demos/responsive/variable-width-with-arrows.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<template> | ||
<ssr-carousel :slides-per-page="null" show-arrows show-dots> | ||
<slide :index="1" :style="{ width: '65%', height: '30vw' }"></slide> | ||
<slide :index="2" :style="{ width: '50%', height: '30vw' }"></slide> | ||
<slide :index="3" :style="{ width: '30%', height: '30vw' }"></slide> | ||
<slide :index="4" :style="{ width: '65%', height: '30vw' }"></slide> | ||
<slide :index="5" :style="{ width: '30%', height: '30vw' }"></slide> | ||
<slide :index="6" :style="{ width: '50%', height: '30vw' }"></slide> | ||
<slide :index="7" :style="{ width: '50%', height: '30vw' }"></slide> | ||
<slide :index="8" :style="{ width: '65%', height: '30vw' }"></slide> | ||
<slide :index="9" :style="{ width: '30%', height: '30vw' }"></slide> | ||
</ssr-carousel> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters