2018-09-09 19:20:21 +09:00
|
|
|
import { Component, Input } from '@angular/core';
|
|
|
|
import { Service } from '@overflow/model/discovery';
|
|
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-service-detail',
|
|
|
|
templateUrl: './service-detail.component.html',
|
|
|
|
styleUrls: ['./service-detail.component.scss'],
|
|
|
|
})
|
|
|
|
export class ServiceDetailComponent {
|
|
|
|
|
|
|
|
@Input() service: Service;
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2018-09-13 20:01:01 +09:00
|
|
|
ping() {
|
|
|
|
console.log(this.service);
|
|
|
|
}
|
|
|
|
|
2018-09-09 19:20:21 +09:00
|
|
|
}
|