shared/src/control-base/control-base.directive.ts
Generic FormControl implementation. Extended by custom controls.
Inputs |
Accessors |
| disabled |
Type : boolean
|
|
Determinates whether the control is en-/disabled. |
| formControlName |
Type : string
|
Default value : ''
|
|
Name of the corresponding |
| value |
Type : any
|
|
The control's current value. |
| readonly |
Type : boolean, unknown
|
Default value : false, { transform: booleanAttribute }
|
|
Determines whether the control is readonly. |
| disabled | ||||||
getdisabled()
|
||||||
|
Determinates whether the control is en-/disabled. |
||||||
setdisabled(value: boolean)
|
||||||
|
Set whether the control is en-/disabled.
Parameters :
Returns :
void
|
| value | ||||||
getvalue()
|
||||||
|
The control's current value. |
||||||
setvalue(value: any)
|
||||||
|
Set the control's current value.
Parameters :
Returns :
void
|