Skip to content

Commit 895709c

Browse files
authored
docs: update svg transition example for v4 (#8947)
1 parent 02099d9 commit 895709c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

documentation/examples/12-svg/05-svg-transitions/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<div class="centered" out:fly={{ y: -20, duration: 800 }}>
2323
{#each 'SVELTE' as char, i}
24-
<span in:fade={{ delay: 1000 + i * 150, duration: 800 }}>{char}</span>
24+
<span in:fade|global={{ delay: 1000 + i * 150, duration: 800 }}>{char}</span>
2525
{/each}
2626
</div>
2727
{/if}

sites/svelte.dev/src/lib/components/ReplWidget.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import { theme } from '@sveltejs/site-kit/stores';
66
import { onMount } from 'svelte';
77
8-
export let version = '3';
8+
export let version = '4';
99
export let gist = null;
1010
export let example = null;
1111
export let embedded = false;

0 commit comments

Comments
 (0)