Add pageChange event
This commit is contained in:
@@ -72,6 +72,9 @@
|
||||
{autoplayDuration}
|
||||
{autoplayDirection}
|
||||
{dots}
|
||||
on:pageChange={
|
||||
event => console.log(`Current page index: ${event.detail}`)
|
||||
}
|
||||
>
|
||||
{#each colors as { color, text } (color)}
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user