Answers for "id condition with ngfor in angular 10"

0

id condition with ngfor in angular 10

static ngTemplateContextGuard<T, U extends NgIterable<T>>(dir: NgForOf<T, U>, ctx: any): ctx is NgForOfContext<T, U>
Posted by: Guest on December-18-2020
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

Code answers related to "Javascript"

Browse Popular Code Answers by Language