feat: Use blur transition
This commit is contained in:
parent
bed7d508ff
commit
636a00f826
|
@ -1,11 +1,11 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { fade } from 'svelte/transition'
|
import { blur } from 'svelte/transition'
|
||||||
|
|
||||||
export let url: string
|
export let url: string
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#key url}
|
{#key url}
|
||||||
<div class="transition" in:fade>
|
<div class="transition" in:blur>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
{/key}
|
{/key}
|
||||||
|
|
Loading…
Reference in New Issue