dynamic colspan in angular

96

dynamic colspan in angular -

<tr *ngFor="let item of items">
  <th [attr.colspan]="item.colspan">{{ item.name }}</th>
</tr>

Comments

Submit
0 Comments