You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<div class="card-container" style="width: 100%;height: 100%">
|
|
|
|
<nz-tabset nzType="card" [(nzSelectedIndex)]="activatedMenuIndex">
|
|
|
|
<nz-tab *ngFor="let item of tabs" (nzSelect)="toggleTab(item.path)" [nzTitle]="titleTemplate">
|
|
|
|
<ng-template #titleTemplate>
|
|
|
|
<div>
|
|
|
|
{{item.title}}
|
|
|
|
<i
|
|
|
|
class="tab-remove-btn"
|
|
|
|
nz-icon nzType="close"
|
|
|
|
nzTheme="outline"
|
|
|
|
(click)="closeTab(item.path)"
|
|
|
|
></i>
|
|
|
|
</div>
|
|
|
|
</ng-template>
|
|
|
|
</nz-tab>
|
|
|
|
</nz-tabset>
|
|
|
|
<router-outlet></router-outlet>
|
|
|
|
</div>
|