blob: eabe2e5ac5c0ab562af470dbb36d8e5d099f7c29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
export const state = () => ({
loading: false,
});
export const getters = {
animation: (state) => {
return state.loading ? "animate-none" : "animate-spin";
},
};
export const mutations = {
loadingStatus: (state, value) => {
state.loading = value;
},
};
|