Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (19 sloc) 379 Bytes
<script>
import { mapActions } from "vuex";
export default {
render(h, content) {
return h("div", this.$slots.default);
},
methods: {
...mapActions({
toggleState: "toggleState"
}),
start() {
this.toggleState({ key: "loading", value: true });
},
finish() {
this.toggleState({ key: "loading", value: false });
}
}
};
</script>
You can’t perform that action at this time.