Answers for "ngfor with different id"

0

ngfor with different id

<div class = "CirclePoint" *ngFor="let c of circles" 
    [attr.id]="'Location' + c.id">
</div>

<div class = "CirclePoint" *ngFor="let c of circles" 
    attr.id="Location{{c.id}}">
</div>
Posted by: Guest on March-19-2021

Browse Popular Code Answers by Language