Initial commit
This commit is contained in:
11
src/presentation/StatefulVue.ts
Normal file
11
src/presentation/StatefulVue.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { ApplicationState, IApplicationState } from '../application/State/ApplicationState';
|
||||
import { Vue } from 'vue-property-decorator';
|
||||
export { IApplicationState };
|
||||
|
||||
export abstract class StatefulVue extends Vue {
|
||||
public isLoading = true;
|
||||
|
||||
protected getCurrentStateAsync(): Promise<IApplicationState> {
|
||||
return ApplicationState.GetAsync();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user