#69 : Update stories

This commit is contained in:
Vadim
2021-09-13 22:52:07 +03:00
parent 3715f77af1
commit 73a985fcb8
4 changed files with 40 additions and 2 deletions

View File

@@ -61,6 +61,16 @@
*/
export let swiping = true
/**
* Number of particles to show
*/
export let particlesToShow = 1
/**
* Number of particles to scroll
*/
export let particlesToScroll = 1
const colors = [
{ color: '#e5f9f0', text: '0' },
{ color: '#ccf3e2', text: '1' },
@@ -95,6 +105,8 @@
{autoplayProgressVisible}
{dots}
{swiping}
{particlesToShow}
{particlesToScroll}
on:pageChange={
event => console.log(`Current page index: ${event.detail}`)
}
@@ -122,6 +134,8 @@
{autoplayProgressVisible}
{dots}
{swiping}
{particlesToShow}
{particlesToScroll}
>
{#each colors2 as { color, text } (color)}
<div