blob: e04b50729ac78699fa5518e3335da0086543b9fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { createModule, mutation, action } from "vuex-class-component";
const VuexModule = createModule({
namespaced: "uiStore",
strict: false
})
export default class UIStore extends VuexModule {
fullscreen: boolean = false;
currentTags: Tag.Node[] = [];
// ---
@mutation toggleFullscreen() {
this.fullscreen = !this.fullscreen;
}
}
|