diff options
author | Zero~Informatique | 2019-12-20 23:54:56 +0100 |
---|---|---|
committer | Zero~Informatique | 2019-12-20 23:54:56 +0100 |
commit | bdce958eddc527912a57afa5b8151e1a90e38355 (patch) | |
tree | ed80503ae7392e1dc6b9bc5ed9db285201ff7ccc /viewer/src/views/LdGallery.vue | |
parent | 7ae68f079ddfb74c9a1b17c4f30dfe4c258d4a9f (diff) | |
download | ldgallery-bdce958eddc527912a57afa5b8151e1a90e38355.tar.gz |
Updated EsLint
Removed logic from the view
Diffstat (limited to 'viewer/src/views/LdGallery.vue')
-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 | ||