mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
21 lines
769 B
HTML
21 lines
769 B
HTML
<ng-container [ngSwitch]="currentTab?.tab">
|
|
<ng-container *ngFor="let component of source">
|
|
|
|
<ng-container *ngSwitchCase="'overview'">
|
|
<ngx-overview-block *ngIf="hasOverview(component)" [source]="component"></ngx-overview-block>
|
|
</ng-container>
|
|
|
|
<ng-container *ngSwitchCase="'theme'">
|
|
<ngx-styles-block *ngIf="hasTheme(component)" [source]="component"></ngx-styles-block>
|
|
</ng-container>
|
|
|
|
<ng-container *ngSwitchCase="'api'">
|
|
<ngx-api-block *ngIf="hasAPI(component)" [source]="component" ></ngx-api-block>
|
|
</ng-container>
|
|
|
|
<ng-container *ngSwitchCase="'examples'">
|
|
<ngx-examples-block *ngIf="hasExamples(component)" [source]="component" ></ngx-examples-block>
|
|
</ng-container>
|
|
|
|
</ng-container>
|
|
</ng-container>
|