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

22 lines
390 B
TypeScript
Raw 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({
selector: 'of-download',
templateUrl: './download.component.html',
})
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
}