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/hydration/samples/element-ref/main.svelte

7 lines
101 B

<svelte:options accessors/>
<script>
export let h1;
</script>
<h1 bind:this={h1}>Hello world!</h1>