mirror of https://github.com/sveltejs/svelte
12 lines
163 B
12 lines
163 B
6 years ago
|
<svelte:options tag="custom-element"/>
|
||
6 years ago
|
|
||
8 years ago
|
<div>
|
||
|
<slot>
|
||
|
<p>default fallback content</p>
|
||
|
</slot>
|
||
|
|
||
|
<slot name='foo'>
|
||
|
<p>foo fallback content</p>
|
||
|
</slot>
|
||
6 years ago
|
</div>
|