Skip to content

Commit

Permalink
formatting and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Mar 7, 2022
1 parent 7fc231c commit e688b9f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/charts/slideshow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<vueper-slide v-for="(slide, i) in slides" :key="i" v-bind="slide">
<template #content>
<div v-if="slide.content" class="vueperslide__content-wrapper" style="flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 10px">
<h3>{{ slide.title}} </h3>
<h3>{{ slide.title }}</h3>
<span>{{ slide.content }}</span>
</div>
</template>
Expand Down Expand Up @@ -53,7 +53,8 @@ export default class VueComponent extends Vue {
this.slides = []
// Check if defined and iterable, throwing an error otherwise would be good
// Check if defined and iterable
// TODO: throw
if (this.config.slides != null && typeof this.config.slides[Symbol.iterator] === 'function') {
// Resolve relative URLs
for (const data of this.config.slides) {
Expand All @@ -72,8 +73,6 @@ export default class VueComponent extends Vue {
}
}
console.log(this.slides)
this.$emit('isLoaded')
}
}
Expand Down

0 comments on commit e688b9f

Please sign in to comment.