mirror of
https://github.com/LukeHagar/svelte-min-repro.git
synced 2025-12-06 04:21:32 +00:00
Update +page.svelte
This commit is contained in:
@@ -22,16 +22,16 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
let index;
|
let index;
|
||||||
let indexValue;
|
let currentValue;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Counter bind:index bind:currentValue={indexValue} values={monthValues} />
|
<Counter bind:index bind:currentValue values={monthValues} />
|
||||||
|
|
||||||
<DocsShell>
|
<DocsShell>
|
||||||
<svelte:fragment slot="usage">
|
<svelte:fragment slot="usage">
|
||||||
<div>Current Value: {indexValue}</div>
|
<div>Current Value: {currentValue}</div>
|
||||||
<div>Index: {index}</div>
|
<div>Index: {index}</div>
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
<div>Current Value: {indexValue}</div>
|
<div>Current Value: {currentValue}</div>
|
||||||
<div>Index: {index}</div>
|
<div>Index: {index}</div>
|
||||||
</DocsShell>
|
</DocsShell>
|
||||||
|
|||||||
Reference in New Issue
Block a user