diff options
Diffstat (limited to 'viewer/src/views')
-rw-r--r-- | viewer/src/views/LdGallery.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/viewer/src/views/LdGallery.vue b/viewer/src/views/LdGallery.vue index a77dc24..98f083f 100644 --- a/viewer/src/views/LdGallery.vue +++ b/viewer/src/views/LdGallery.vue | |||
@@ -3,11 +3,7 @@ | |||
3 | <div class="layout top">header</div> | 3 | <div class="layout top">header</div> |
4 | <div class="layout left">panel</div> | 4 | <div class="layout left">panel</div> |
5 | <router-view class="layout content" /> | 5 | <router-view class="layout content" /> |
6 | <fa-icon | 6 | <fa-icon icon="expand-arrows-alt" class="layout button-fullscreen" @click="toggleFullscreen" /> |
7 | icon="expand-arrows-alt" | ||
8 | class="layout button-fullscreen" | ||
9 | @click="fullscreen=!fullscreen" | ||
10 | /> | ||
11 | </div> | 7 | </div> |
12 | </template> | 8 | </template> |
13 | 9 | ||
@@ -17,6 +13,10 @@ import { Component, Vue } from "vue-property-decorator"; | |||
17 | @Component | 13 | @Component |
18 | export default class LdGallery extends Vue { | 14 | export default class LdGallery extends Vue { |
19 | fullscreen: boolean = false; | 15 | fullscreen: boolean = false; |
16 | |||
17 | toggleFullscreen() { | ||
18 | this.fullscreen = !this.fullscreen; | ||
19 | } | ||
20 | } | 20 | } |
21 | </script> | 21 | </script> |
22 | 22 | ||