Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

ngif else if

<ng-container *ngIf="foo === 1;else second"></ng-container>
<ng-template #second>
    <ng-container *ngIf="foo === 2;else third"></ng-container>
</ng-template>
<ng-template #third></ng-template>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ngif
ADD COMMENT
Topic
Name
3+8 =