mirror of https://github.com/sveltejs/svelte
parent
48a0a911fe
commit
e2f36d0d04
@ -1,2 +1,2 @@
|
|||||||
<input bind:value='obj[prop]'>
|
<input bind:value={obj[prop]}>
|
||||||
<pre>{JSON.stringify(obj)}</pre>
|
<pre>{JSON.stringify(obj)}</pre>
|
@ -1,2 +1,2 @@
|
|||||||
<input bind:value='user[prop]'>
|
<input bind:value={user[prop]}>
|
||||||
<p>hello {user.name}</p>
|
<p>hello {user.name}</p>
|
@ -1,4 +1,4 @@
|
|||||||
{#each objects as obj}
|
{#each objects as obj}
|
||||||
<input bind:value='obj[prop]'>
|
<input bind:value={obj[prop]}>
|
||||||
<pre>{JSON.stringify(obj)}</pre>
|
<pre>{JSON.stringify(obj)}</pre>
|
||||||
{/each}
|
{/each}
|
Loading…
Reference in new issue