Answers for "how to use ngif with ng class"

0

ngif else ng-container

<ng-container *ngIf="contributeur.deb; else newDeb" >
    ...
</ng-container>
<ng-template #newDeb>
    ...
</ng-template>
Posted by: Guest on November-06-2020
1

angular ngif

<label *ngIf="1==1" > show Label when condition is true </label>
Posted by: Guest on September-22-2021

Browse Popular Code Answers by Language