app/src/commons/component/node-detail.component.ts
insanity 9ada8bf45b .
2018-09-13 20:01:01 +09:00

23 lines
435 B
TypeScript

import { Component, Input, Output, Host, EventEmitter } from '@angular/core';
@Component({
selector: 'app-node-detail',
templateUrl: './node-detail.component.html',
styleUrls: ['./node-detail.component.scss'],
})
export class NodeDetailComponent {
@Input() node;
@Output() otherHostSelect = new EventEmitter<Host>();
constructor(
) {
}
otherHostSelected(host: Host) {
this.otherHostSelect.emit(host);
}
}