ControlValueAccessor functionality for the DaffRadio
Selector:'daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]'
| Name | Type | Description | |||
|---|---|---|---|---|---|
| _onChange | () => void | ||||
| _onTouched | () => void | ||||
| @Input() value | any | The value of the ControlValueAccessor | |||
| @Input() name | string | The name of the ControlValueAccessor | _control | NgControl | |
| ngOnInit | void | ||||
| writeValue | void | writeValue function from the CVA interface | |||
| registerOnChange | void | registerOnChange implemented from the CVA interface | |||
| registerOnTouched | void | registerOnTouch implemented from the CVA interface | |||
| setDisabledState | void | sets the disabled state. | |||
| fireSelect | calls select function for the radio | ||||
| fireDeselect | calls deselect function for the radio |