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/documentation/examples/19-debugging/00-debug/App.svelte

14 lines
205 B

<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>