aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/carousel/carousel.component.html
blob: 755899a7f6f35ab4547b5fd7d3cbe7cb581dff32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<div class="container">
    <div class="row d-flex align-items-stretch flex-row mx-5 align-items-stretch">
        <div class="col my-1" *ngFor=" let item of items" [ngSwitch]="item.constructor.name">
            <ng-template ngSwitchCase="Dataset">
                <app-item-dataset [dataset]="item">
                </app-item-dataset>
            </ng-template>
            <ng-template ngSwitchCase="Predictor">
                <app-item-predictor [predictor]="item">
                </app-item-predictor>
            </ng-template>
        </div>
    </div>
</div>