ngIf與hidden是用來顯示或隱藏Html上的元素首先,先來試試ngIf 用法很簡單,在你想顯示或隱藏的元素上打上*ngIf="布林判斷" <div *ngIf="false" > ...
確定! 回上一頁