Skip to content

Commit

Permalink
docs: make transition global in deferred transition example (#9020)
Browse files Browse the repository at this point in the history
  • Loading branch information
Posandu authored Jul 21, 2023
1 parent 60cd0ec commit 7af165d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

{#if selected}
{#await selected then d}
<div class="photo" in:receive={{ key: d.id }} out:send={{ key: d.id }}>
<div class="photo" in:receive|global={{ key: d.id }} out:send|global={{ key: d.id }}>
<!-- svelte-ignore a11y-click-events-have-key-events a11y-no-noninteractive-element-interactions -->
<img alt={d.alt} src="{ASSETS}/{d.id}.jpg" on:click={() => (selected = null)} />

Expand Down

0 comments on commit 7af165d

Please sign in to comment.