import {Component, Input} from "@angular/core"; @Component({ selector: 'loading', template: `
` }) export class LoadingComponent { /** * Possible values '': blue, 'success': green, 'warning': orange and 'danger': red */ @Input() color: 'success' | 'warning' | 'danger' = null; @Input() full: boolean = false; @Input() top_margin: boolean = true; constructor() { } }