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.
pull/8996/head
SpokenTurnip99 2 years ago committed by GitHub
parent 13286cfe42
commit 479e8744c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}

Loading…
Cancel
Save