noydb/oworms-ui

View on GitHub
src/app/component/common/spinner/load.component.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Component } from '@angular/core';

import { Unsubscribes } from '../../../util/auto-unsubscribe.directive';

import { ComponentState } from '../../../model/component-state.enum';

@Component({
    template: ''
})
@Unsubscribes()
export abstract class LoadComponent {
    state: ComponentState = ComponentState.LOADING;
    errorMessage: string = '';
    readonly ComponentState = ComponentState;
}