Answers for "how to get id on *ngFor"

1

applying ids for ngfor

<li *ngFor="let episode of episodes; let i = index">
     <div id="{{ 'wave' + i }}"></div>
</li>
Posted by: Guest on May-05-2020

Browse Popular Code Answers by Language