From 2d8a75c1f6f5b176d9b56b1438704fde73cf141d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Thu, 15 Sep 2022 18:08:04 +0000 Subject: [PATCH] ImageCarousel props --- ui/src/App.vue | 9 ++++++++- ui/src/components/ImageCarousel.vue | 17 ++++++++++++++--- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/ui/src/App.vue b/ui/src/App.vue index 16a009b..24cff8b 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -8,7 +8,12 @@ /> @@ -19,8 +24,14 @@ export default class ImageCarousel extends Vue { @Prop({ default: 10000 }) private readonly speed!: number; + @Prop({ default: 300 }) + private readonly height!: number; + + @Prop({ default: false }) + private readonly contain!: boolean; + @Prop({ required: true }) - private readonly image_urls!: Array; + private readonly urls!: Array; }