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