Answers for "ngif and else in ionic"

1

ionic ngif else example

<div *ngIf="isValid;then content else other_content">here is ignored</div>    
<ng-template #content>content here...</ng-template>
<ng-template #other_content>other content here...</ng-template>
Posted by: Guest on January-21-2021

Browse Popular Code Answers by Language