docs: update svg transition example for v4 (#8947)

pull/8951/head
gtmnayan 1 year ago committed by GitHub
parent 02099d9d75
commit 895709c6a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -5,7 +5,7 @@
import { theme } from '@sveltejs/site-kit/stores'; import { theme } from '@sveltejs/site-kit/stores';
import { onMount } from 'svelte'; import { onMount } from 'svelte';
export let version = '3'; export let version = '4';
export let gist = null; export let gist = null;
export let example = null; export let example = null;
export let embedded = false; export let embedded = false;

Loading…
Cancel
Save