<div [ngSwitch]="switchVar"> <div *ngSwitchCase="1; then myTemplate"></div> <div *ngSwitchDefault>output2</div> </div> <ng-template ...
確定! 回上一頁