DaffRadioControlValueAccessorDirective

ControlValueAccessor functionality for the DaffRadio

Selector: 'daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]'

Properties

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
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.