diff options
Diffstat (limited to 'frontend/src/app/_elements/carousel/carousel.component.html')
-rw-r--r-- | frontend/src/app/_elements/carousel/carousel.component.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/src/app/_elements/carousel/carousel.component.html b/frontend/src/app/_elements/carousel/carousel.component.html new file mode 100644 index 00000000..ea522626 --- /dev/null +++ b/frontend/src/app/_elements/carousel/carousel.component.html @@ -0,0 +1,12 @@ +<div class="d-flex flex-row"> + <div class="mx-2" *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> + </app-item-predictor> + </ng-template> + </div> +</div>
\ No newline at end of file |