- {#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 |