docs: matches hint with existing structure and solution (#8915)

pull/8920/head
Alex Morgan 1 year ago committed by GitHub
parent d516bb06e1
commit bb5d3948ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,8 +5,10 @@ title: Key blocks
Key blocks destroy and recreate their contents when the value of an expression changes. Key blocks destroy and recreate their contents when the value of an expression changes.
```svelte ```svelte
{#key value} {#key number}
<div transition:fade>{value}</div> <span style="display: inline-block" in:fade>
{number}
</span>
{/key} {/key}
``` ```

Loading…
Cancel
Save