svelte/test/runtime/samples/each-block-keyed/main.html

4 lines
79 B

{{#each todos as todo, i @id}}
<p>{{i+1}}: {{todo.description}}</p>
{{/each}}