mirror of https://github.com/sveltejs/svelte
parent
8e5b5cbb5d
commit
df21877874
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: `blah blah blah blah`
|
||||
};
|
@ -0,0 +1,32 @@
|
||||
<script>
|
||||
import { writable } from 'svelte/store';
|
||||
const foo = writable(true);
|
||||
</script>
|
||||
|
||||
{#if $foo}
|
||||
blah
|
||||
{:else}
|
||||
{#if bar()}
|
||||
<Bar/>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{#if $foo}
|
||||
blah
|
||||
{:else}
|
||||
{#if bar}
|
||||
<Baz/>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{#if $foo}
|
||||
blah
|
||||
{:else if bar()}
|
||||
<Bar/>
|
||||
{/if}
|
||||
|
||||
{#if $foo}
|
||||
blah
|
||||
{:else if bar}
|
||||
<Bar/>
|
||||
{/if}
|
Loading…
Reference in new issue