aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/store/uiStore.ts
blob: c4143a1d873276d2d7e91d9f9127e38ed66d49c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { createModule, mutation, action } from "vuex-class-component";

const VuexModule = createModule({
    namespaced: "uiStore",
    strict: true
})

export default class UIStore extends VuexModule {

    fullscreen: boolean = false;

    @mutation toggleFullscreen() {
        this.fullscreen = !this.fullscreen;
    }
}