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/js/samples/each-block-changed-check/input.svelte

13 lines
224 B

{#each comments as comment, i}
<div class='comment'>
<strong>{i}</strong>
<span class='meta'>
{comment.author} wrote {elapsed(comment.time, time)} ago:
</span>
{@html comment.html}
</div>
{/each}
<p>{foo}</p>