diff --git a/src/docs/Carousel.svx b/src/docs/Carousel.svx index 0860b3e..00122ff 100644 --- a/src/docs/Carousel.svx +++ b/src/docs/Carousel.svx @@ -29,24 +29,22 @@ ## Multiple items!anchorId:features-multiple-items; - - {#each _.chunk(colors, 3) as colorsChunk, chunkIndex (chunkIndex)} -
- {#each colorsChunk as { color, text } (color)} - - {/each} -
+ + {#each colors as { color, text } (color)} + {/each} ```jsx - - {#each _.chunk(colors, 3) as colorsChunk, chunkIndex (chunkIndex)} -
- {#each colorsChunk as { color, text } (color)} - - {/each} -
+ + {#each colors as { color, text } (color)} + {/each} ``` @@ -276,6 +274,8 @@ Import component: | `dots` | `boolean` | `true` | Current page indicator dots | | `timingFunction` | `string` | `'ease-in-out'` | CSS animation timing function | | `swiping` | `boolean` | `true` | Enables swiping | +| `particlesToShow` | `number` | `1` | Number of elements to show | +| `particlesToScroll` | `number` | `1` | Number of elements to scroll |