Answers for "what happened if we use ngif and ngfor in a same line"

3

*ngIf and *ngFor in same container

<ng-container *ngIf="show">
  <div *ngFor="let thing of stuff">
    {{log(thing)}}
    <span>{{thing.name}}</span>
  </div>
</ng-container>
Posted by: Guest on December-01-2020

Code answers related to "what happened if we use ngif and ngfor in a same line"

Browse Popular Code Answers by Language