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.
svelte/test/validator/samples/component-slotted-custom-el.../input.svelte

14 lines
198 B

<script>
import Nested from './Nested.svelte';
let thing = false;
</script>
<custom-element>
<Nested>
{#if thing}
<div>
<div slot='bar' />
</div>
{/if}
</Nested>
</custom-element>