mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
13 lines
200 B
Svelte
13 lines
200 B
Svelte
<script>
|
|
let user = {
|
|
firstname: 'Ada',
|
|
lastname: 'Lovelace'
|
|
};
|
|
</script>
|
|
|
|
<input bind:value={user.firstname}>
|
|
<input bind:value={user.lastname}>
|
|
|
|
{@debug user}
|
|
|
|
<h1>Hello {user.firstname}!</h1> |