Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

ngfor index

<ul>
    <li *ngFor="let item of items; index as i">
        {{item}}
    </li>
</ul>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ngfor #index
ADD COMMENT
Topic
Name
8+4 =