2018-04-25 11:23:30 +00:00
|
|
|
import { Component, OnInit, AfterContentInit, Input, OnChanges } from '@angular/core';
|
2018-05-02 08:09:39 +00:00
|
|
|
import { InfraHost } from '@overflow/commons-typescript/model/infra';
|
2018-06-01 10:27:27 +00:00
|
|
|
import { InfraService } from '../service/infra.service';
|
2018-04-25 11:23:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
@Component({
|
2018-06-01 10:27:27 +00:00
|
|
|
selector: 'of-infra-service-summary',
|
|
|
|
templateUrl: './infra-service-summary.component.html',
|
2018-04-25 11:23:30 +00:00
|
|
|
})
|
2018-06-01 10:27:27 +00:00
|
|
|
export class InfraServiceSummaryComponent implements OnInit, AfterContentInit, OnChanges {
|
2018-04-25 11:23:30 +00:00
|
|
|
|
|
|
|
@Input() service: InfraService;
|
|
|
|
@Input() visible: boolean;
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
) { }
|
|
|
|
|
|
|
|
ngOnInit() {
|
|
|
|
}
|
|
|
|
|
|
|
|
ngAfterContentInit() {
|
|
|
|
console.log(this.service);
|
|
|
|
}
|
|
|
|
|
|
|
|
ngOnChanges() {
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|