|
|
|
@ -1241,7 +1241,7 @@ Animations can be used with Svelte's [built-in animation functions](/docs#run-ti
|
|
|
|
|
|
|
|
|
|
|
|
As with actions and transitions, animations can have parameters.
|
|
|
|
As with actions and transitions, animations can have parameters.
|
|
|
|
|
|
|
|
|
|
|
|
(The double `{{curlies}}` isn't a special syntax; this is an object literal inside an expression tag.)
|
|
|
|
(The double `{{curlies}}` aren't a special syntax; this is an object literal inside an expression tag.)
|
|
|
|
|
|
|
|
|
|
|
|
```sv
|
|
|
|
```sv
|
|
|
|
{#each list as item, index (item)}
|
|
|
|
{#each list as item, index (item)}
|
|
|
|
|