svelte/test/runtime/samples/ondestroy-deep/main.svelte

9 lines
103 B

<script>
import A from './A.svelte';
export let visible = true;
</script>
{#if visible}
<A/>
{/if}