Skip to content

Commit 28f24f5

Browse files
authored
Merge pull request #77 from vadimkorr/feature/#69_Add-pages-to-show-pages-to-scroll
feature/#69 Add pages to show and pages to scroll
2 parents 3d3a2c2 + ff553e2 commit 28f24f5

18 files changed

+1450
-386
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ npm install svelte-carousel -D
5353
import { onMount } from 'svelte';
5454

5555
let Carousel; // for saving Carousel component class
56-
let carousel; // for calling methods of carousel instance
56+
let carousel; // for calling methods of the carousel instance
5757
onMount(async () => {
5858
const module = await import('svelte-carousel');
5959
Carousel = module.default;
@@ -91,6 +91,8 @@ npm install svelte-carousel -D
9191
| `dots` | `boolean` | `true` | Current page indicator dots |
9292
| `timingFunction` | `string` | `'ease-in-out'` | CSS animation timing function |
9393
| `swiping` | `boolean` | `true` | Enables swiping |
94+
| `particlesToShow` | `number` | `1` | Number of elements to show |
95+
| `particlesToScroll` | `number` | `1` | Number of elements to scroll |
9496

9597
## Events
9698

docs/index.css

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-carousel",
3-
"version": "1.0.15",
3+
"version": "1.0.16",
44
"description": "Svelte carousel",
55
"main": "src/main.js",
66
"author": "vadimkorr",

0 commit comments

Comments
 (0)