Bind the directive to a condition expression like isActive in this demo. Source. <div *ngIf="isActive"> ...
確定! 回上一頁