blob: 7a7ab72d09240803f31fa1c0e55751b32d12266a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import {Component, ElementRef, Input, ViewChild} from "@angular/core";
import {InputFormControl} from "../../../../models/formControlModels/inputFormControl.model";
import {FormGroup} from "@angular/forms";
@Component({
selector : 'form-control-input',
templateUrl : './input.formControl.component.html',
styleUrls : ['./input.formControl.component.scss']
})
export class InputFormControlComponent{
@ViewChild('customInput', {static: false}) element:ElementRef;
@Input() data: InputFormControl = null;
@Input() form: FormGroup;
}
|