mirror of https://github.com/sveltejs/svelte
parent
aa3f002465
commit
fbe46ecdbc
@ -0,0 +1,18 @@
|
||||
<script>
|
||||
let SvelteSelf;
|
||||
</script>
|
||||
|
||||
{#if false}
|
||||
<svelte:self />
|
||||
<svelte:self with_attributes/>
|
||||
<svelte:self count={count+1}/>
|
||||
<svelte:self>
|
||||
child
|
||||
</svelte:self>
|
||||
<svelte:self count={count+1}>
|
||||
child
|
||||
</svelte:self>
|
||||
<svelte:self count={$$props.count} >
|
||||
child
|
||||
</svelte:self>
|
||||
{/if}
|
||||
@ -0,0 +1,21 @@
|
||||
<script>
|
||||
import SvelteSelf_1 from './output.svelte';
|
||||
/** @type {Record<string, any>} */
|
||||
let { ...props } = $props();
|
||||
let SvelteSelf;
|
||||
</script>
|
||||
|
||||
{#if false}
|
||||
<SvelteSelf_1/>
|
||||
<SvelteSelf_1 with_attributes/>
|
||||
<SvelteSelf_1 count={count+1}/>
|
||||
<SvelteSelf_1>
|
||||
child
|
||||
</SvelteSelf_1>
|
||||
<SvelteSelf_1 count={count+1}>
|
||||
child
|
||||
</SvelteSelf_1>
|
||||
<SvelteSelf_1 count={props.count} >
|
||||
child
|
||||
</SvelteSelf_1>
|
||||
{/if}
|
||||
@ -0,0 +1,14 @@
|
||||
{#if false}
|
||||
<svelte:self />
|
||||
<svelte:self with_attributes/>
|
||||
<svelte:self count={count+1}/>
|
||||
<svelte:self>
|
||||
child
|
||||
</svelte:self>
|
||||
<svelte:self count={count+1}>
|
||||
child
|
||||
</svelte:self>
|
||||
<svelte:self count={$$props.count} >
|
||||
child
|
||||
</svelte:self>
|
||||
{/if}
|
||||
@ -0,0 +1,20 @@
|
||||
<script>
|
||||
import SvelteSelf from './output.svelte';
|
||||
/** @type {Record<string, any>} */
|
||||
let { ...props } = $props();
|
||||
</script>
|
||||
|
||||
{#if false}
|
||||
<SvelteSelf/>
|
||||
<SvelteSelf with_attributes/>
|
||||
<SvelteSelf count={count+1}/>
|
||||
<SvelteSelf>
|
||||
child
|
||||
</SvelteSelf>
|
||||
<SvelteSelf count={count+1}>
|
||||
child
|
||||
</SvelteSelf>
|
||||
<SvelteSelf count={props.count} >
|
||||
child
|
||||
</SvelteSelf>
|
||||
{/if}
|
||||
Loading…
Reference in new issue