member_webapp/@overflow/probe/component/download/download.component.ts
crusader d59d9379f9 ing
2018-05-24 15:44:13 +09:00

22 lines
390 B
TypeScript

import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
@Component({
selector: 'of-download',
templateUrl: './download.component.html',
})
export class ProbeDownloadComponent implements OnInit {
@Input() index;
@Output() select = new EventEmitter();
constructor(
) { }
ngOnInit() {
}
onChange(event) {
this.select.emit(event.index);
}
}