You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/component-binding-infinite-.../B.svelte

14 lines
222 B

<script>
import C from './C.svelte';
export let list = [1, 2, 3, 2, 1];
export let currentIdentifier;
</script>
{#each list as item}
<p>
<C identifier="{item}" bind:currentIdentifier>
{item}
</C>
</p>
{/each}