diff options
author | Zero~Informatique | 2019-12-21 20:14:33 +0100 |
---|---|---|
committer | Zero~Informatique | 2019-12-21 20:14:33 +0100 |
commit | 57d1b89d314970bf56d3d398c393f6a67a4ed0b5 (patch) | |
tree | 611a184e545296607bdb855dd4a4eaa3ae82198f /viewer/src/views/GalleryImage.vue | |
parent | bbae6ddb97c0825f6b0b689f4d9eeac67515d1c1 (diff) | |
download | ldgallery-57d1b89d314970bf56d3d398c393f6a67a4ed0b5.tar.gz |
viewer: Isolated the Directory and Image views in their own components
Diffstat (limited to 'viewer/src/views/GalleryImage.vue')
-rw-r--r-- | viewer/src/views/GalleryImage.vue | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/viewer/src/views/GalleryImage.vue b/viewer/src/views/GalleryImage.vue new file mode 100644 index 0000000..daaa504 --- /dev/null +++ b/viewer/src/views/GalleryImage.vue | |||
@@ -0,0 +1,17 @@ | |||
1 | <template> | ||
2 | <div> | ||
3 | <strong>Image: {{image.path}}</strong> | ||
4 | </div> | ||
5 | </template> | ||
6 | |||
7 | <script lang="ts"> | ||
8 | import { Component, Vue, Prop } from "vue-property-decorator"; | ||
9 | |||
10 | @Component | ||
11 | export default class GalleryDirectory extends Vue { | ||
12 | @Prop({ required: true }) readonly image!: Gallery.Image; | ||
13 | } | ||
14 | </script> | ||
15 | |||
16 | <style lang="scss"> | ||
17 | </style> | ||