mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
250 B
27 lines
250 B
7 years ago
|
<div>
|
||
|
{#if a}
|
||
|
<p>a</p>
|
||
|
{/if}
|
||
|
|
||
|
<p>this can be used as an anchor</p>
|
||
|
|
||
|
{#if b}
|
||
|
<p>b</p>
|
||
|
{/if}
|
||
|
|
||
|
{#if c}
|
||
|
<p>c</p>
|
||
|
{/if}
|
||
|
|
||
|
<p>so can this</p>
|
||
|
|
||
|
{#if d}
|
||
|
<p>d</p>
|
||
|
{/if}
|
||
|
|
||
|
<!-- d can use 'null' as its anchor -->
|
||
|
</div>
|
||
|
|
||
|
{#if e}
|
||
|
<p>e</p>
|
||
|
{/if}
|