summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.ts
blob: 01e0629942baa0763cccb6e92dc7998ee9ff0b8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import {Component, Input} from '@angular/core';
import {DropdownValue} from "app/ng2/components/ui/form-components/dropdown/ui-element-dropdown.component";
import {OperationParam} from 'app/models';

@Component({
    selector: 'param-row',
    templateUrl: './param-row.component.html',
    styleUrls: ['./param-row.component.less']
})

export class ParamRowComponent {
    @Input() param: OperationParam;
    @Input() inputProps: Array<DropdownValue>;
    @Input() onRemoveParam: Function;
}