Skip to content

Commit

Permalink
docs: change fade to fly to match the tutorial (#8982)
Browse files Browse the repository at this point in the history
In Transitions / Key Blocks the documentation showed a fade transition and this was not in sync with the tutorial which used a fly transition.
  • Loading branch information
SpokenTurnip99 committed Jul 18, 2023
1 parent 13286cf commit 479e874
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Key blocks destroy and recreate their contents when the value of an expression c

```svelte
{#key number}
<span style="display: inline-block" in:fade>
<span style="display: inline-block" in:fly={{ y: -20 }}>
{number}
</span>
{/key}
Expand Down

0 comments on commit 479e874

Please sign in to comment.