summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.ts
blob: b5e5fda75789e6ddbced2d37d7f9c440b8a70fc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import {Component, OnInit} from '@angular/core';
import {InputActionAttribute, OutputActionAttribute} from './models/InputActionAttribute';

@Component({
    selector: 'app-action-attributes',
    templateUrl: './action-attributes.component.html',
    styleUrls: ['./action-attributes.component.css']
})
export class ActionAttributesComponent implements OnInit {

    inputs: [InputActionAttribute];
    outputs: [OutputActionAttribute];
    actionAttributesSideBar: boolean;

    constructor() {
    }

    ngOnInit() {
    }

    _toggleSidebar2() {
        this.actionAttributesSideBar = !this.actionAttributesSideBar;
    }

    addInput(input: InputActionAttribute) {
        this.inputs.push(input);
    }

    addOutput(output: OutputActionAttribute) {
        this.outputs.push(output);
    }
}