E.Target.Value esbelte
<script>
let name = 'change me';
function onInput(event) {
name = event.target.value
}
</script>
<input value={name} on:input={onInput}>
<h1>{name}!</h1>
Anak Daeng