22 lines
390 B
TypeScript
Raw Normal View History

2018-05-18 17:30:20 +09:00
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
2018-04-06 20:02:18 +09:00
@Component({
selector: 'of-download',
templateUrl: './download.component.html',
})
2018-05-18 17:30:20 +09:00
export class ProbeDownloadComponent implements OnInit {
2018-04-06 20:02:18 +09:00
2018-05-18 17:30:20 +09:00
@Input() index;
@Output() select = new EventEmitter();
constructor(
) { }
2018-04-06 20:02:18 +09:00
ngOnInit() {
}
2018-05-18 17:30:20 +09:00
onChange(event) {
this.select.emit(event.index);
}
2018-04-06 20:02:18 +09:00
}