mirror of https://github.com/sveltejs/svelte
wait until flush complete before unlocking bindings - fixes #2356
parent
b03cfcf09d
commit
5535110066
@ -1,3 +1,4 @@
|
|||||||
<script>
|
<script>
|
||||||
export let value = 'x';
|
export let i, j;
|
||||||
|
export let value = `${i}:${j}`;
|
||||||
</script>
|
</script>
|
@ -1,3 +1,4 @@
|
|||||||
<script>
|
<script>
|
||||||
export let value = { x: true };
|
export let i, j;
|
||||||
|
export let value = { i, j };
|
||||||
</script>
|
</script>
|
@ -1,9 +1,10 @@
|
|||||||
<script>
|
<script>
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
|
|
||||||
|
export let i, j;
|
||||||
export let value;
|
export let value;
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
value = { x: true };
|
value = { i, j };
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
Loading…
Reference in new issue