Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

svelte for loop for index

{#each {length: 3} as _, i}
    <li>{i + 1}</li>
{/each}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #svelte #loop #index
ADD COMMENT
Topic
Name
5+9 =