svelte/test/runtime/samples/component-ref/main.svelte

8 lines
121 B

<script>
import Widget from './Widget.svelte';
export let widget;
</script>
<div>
<Widget bind:this={widget}/>
</div>