svelte for loop

Solutions on MaxInterview for svelte for loop by the best coders in the world

showing results for - "svelte for loop"
Cecilia
18 Aug 2019
1<ul>
2	{#each cats as cat}
3		<li><a target="_blank" href="https://www.youtube.com/watch?v={cat.id}">
4			{cat.name}
5		</a></li>
6	{/each}
7</ul>
Klara
02 Jan 2019
1{#each {length: 3} as _, i}
2    <li>{i + 1}</li>
3{/each}