mirror of https://github.com/sveltejs/svelte
parent
780c6803a5
commit
48a0a911fe
@ -1,2 +1,2 @@
|
|||||||
<h1>Hello {component.name}!</h1>
|
<h1>Hello {component.name}!</h1>
|
||||||
<input bind:value="component.name"/>
|
<input bind:value={component.name}/>
|
@ -1,3 +1,3 @@
|
|||||||
{#each items as item}
|
{#each items as item}
|
||||||
<div><input bind:value='item.description'><p>{item.description}</p></div>
|
<div><input bind:value={item.description}><p>{item.description}</p></div>
|
||||||
{/each}
|
{/each}
|
@ -1,2 +1,2 @@
|
|||||||
<input bind:value='user.name'>
|
<input bind:value={user.name}>
|
||||||
<p>hello {user.name}</p>
|
<p>hello {user.name}</p>
|
@ -1,5 +1,5 @@
|
|||||||
{#each items as item}
|
{#each items as item}
|
||||||
<select bind:value="item.value">
|
<select bind:value={item.value}>
|
||||||
<option value="hullo">Hullo</option>
|
<option value="hullo">Hullo</option>
|
||||||
<option value="world">World</option>
|
<option value="world">World</option>
|
||||||
</select>
|
</select>
|
||||||
|
@ -1 +1 @@
|
|||||||
<input bind:value='foo.bar.baz'>
|
<input bind:value={foo.bar.baz}>
|
||||||
|
@ -1 +1 @@
|
|||||||
<svelte:window bind:innerWidth='foo.bar.baz'/>
|
<svelte:window bind:innerWidth={foo.bar.baz}/>
|
Loading…
Reference in new issue