0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 17:00:40 +01:00
svelte/test/js/samples/each-block-changed-check/input.html

13 lines
234 B
HTML
Raw Normal View History

2017-04-17 22:45:49 +02:00
{{#each comments as comment, i}}
2017-04-17 03:57:00 +02:00
<div class='comment'>
2017-04-17 22:45:49 +02:00
<strong>{{i}}</strong>
2017-04-17 03:57:00 +02:00
<span class='meta'>
{{comment.author}} wrote {{elapsed(comment.time, time)}} ago:
</span>
{{{comment.html}}}
</div>
{{/each}}
<p>{{foo}}</p>