aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/store')
-rw-r--r--viewer/src/store/uiStore.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/viewer/src/store/uiStore.ts b/viewer/src/store/uiStore.ts
new file mode 100644
index 0000000..c4143a1
--- /dev/null
+++ b/viewer/src/store/uiStore.ts
@@ -0,0 +1,15 @@
1import { createModule, mutation, action } from "vuex-class-component";
2
3const VuexModule = createModule({
4 namespaced: "uiStore",
5 strict: true
6})
7
8export default class UIStore extends VuexModule {
9
10 fullscreen: boolean = false;
11
12 @mutation toggleFullscreen() {
13 this.fullscreen = !this.fullscreen;
14 }
15}