member_webapp/@overflow/probe/component/probe-download.component.ts

22 lines
402 B
TypeScript
Raw Permalink Normal View History

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