Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

ng elseif

<ng-container *ngIf="tipo_template === 0">
     <!-- Conteúdo 0 aqui -->
</ng-container>

<ng-container *ngIf="tipo_template === 1">
     <!-- Conteúdo 1 aqui -->
</ng-container>

<ng-container *ngIf="tipo_template === 2">
     <!-- Conteúdo 2 aqui -->
</ng-container>
Source by pt.stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ng #elseif
ADD COMMENT
Topic
Name
2+3 =