Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

get Nested Iteration index Count in Angular 13


  <tr *ngFor="let adjustment of adjustments; let i = index">

    <td *ngFor="let blade of blades; let j = index">

      <span> Counter = {{ (i * blades.length) + j }} </span>

    </td>

  </tr>
  
(i*blades.length)+ j
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #Nested #Iteration #index #Count #Angular
ADD COMMENT
Topic
Name
9+6 =