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/packages/svelte/tests/runtime-runes/samples/async-indirect-blockers/Component2.svelte

12 lines
231 B

<script>
await 1;
// Test function declaration style
let value = $state('');
function getValue() { return value }
function setValue(v) { value = v }
</script>
<input bind:value={getValue, setValue} />
<p>{getValue()}</p>