aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/carousel/carousel.component.html
blob: eb1041ceaf5b289a2f611a7ae1068006593aa03f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<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]="type">
            <ng-template ngSwitchCase="Object">
                Unknown item type
            </ng-template>
            <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>