Skip to content

Commit 479e874

Browse files
docs: change fade to fly to match the tutorial (#8982)
In Transitions / Key Blocks the documentation showed a fade transition and this was not in sync with the tutorial which used a fly transition.
1 parent 13286cf commit 479e874

File tree

1 file changed

+1
-1
lines changed
  • documentation/tutorial/10-transitions/09-key-blocks

1 file changed

+1
-1
lines changed

documentation/tutorial/10-transitions/09-key-blocks/text.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Key blocks destroy and recreate their contents when the value of an expression c
66

77
```svelte
88
{#key number}
9-
<span style="display: inline-block" in:fade>
9+
<span style="display: inline-block" in:fly={{ y: -20 }}>
1010
{number}
1111
</span>
1212
{/key}

0 commit comments

Comments
 (0)