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/runtime/samples/binding-input-text-contextu.../main.svelte

10 lines
182 B

<script>
export let foo;
export let items;
</script>
<div><input bind:value={foo}><p>{foo}</p></div>
{#each items as bar}
<div><input bind:value={bar}><p>{bar}</p></div>
{/each}