advent22/ui/src/components/CalendarDoor.vue

28 lines
477 B
Vue
Raw Normal View History

2022-10-30 01:27:46 +00:00
<template>
2022-10-30 03:04:25 +00:00
<ImageModal v-model="modal_visible" />
<button class="button" @click="modal_visible = true">
2022-10-30 01:27:46 +00:00
Türken {{ day + 1 }}
2022-10-30 03:04:25 +00:00
</button>
2022-10-30 01:27:46 +00:00
</template>
<script lang="ts">
import { Vue, Options } from "vue-class-component";
2022-10-30 03:04:25 +00:00
import ImageModal from "./ImageModal.vue";
2022-10-30 01:27:46 +00:00
@Options({
2022-10-30 03:04:25 +00:00
components: {
ImageModal,
},
2022-10-30 01:27:46 +00:00
props: {
day: Number,
},
})
export default class CalendarDoor extends Vue {
day!: number;
2022-10-30 03:04:25 +00:00
modal_visible = false;
2022-10-30 01:27:46 +00:00
}
</script>
<style>
</style>