mirror of https://github.com/sveltejs/svelte
parent
a2170f5bd5
commit
e638456621
@ -0,0 +1,7 @@
|
|||||||
|
<script lang='ts'>
|
||||||
|
export let obj;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
{obj.value}
|
||||||
|
</p>
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
// fix: https://github.com/sveltejs/svelte/issues/8305
|
||||||
|
export default {
|
||||||
|
html: '<p>0</p>'
|
||||||
|
};
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
<script>
|
||||||
|
import Component from './Component.svelte';
|
||||||
|
let obj = {
|
||||||
|
value: '0'
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{#key obj}
|
||||||
|
<Component bind:obj={obj} />
|
||||||
|
{/key}
|
||||||
Loading…
Reference in new issue