DefaultValueAccessor
DefaultValueAccessor
Stable Directive
Class Overview
class DefaultValueAccessor implements ControlValueAccessor { constructor(_renderer: Renderer, _elementRef: ElementRef) onChange : (_: any) => {} onTouched : () => {} writeValue(value: any) : void registerOnChange(fn: (_: any) => void) : void registerOnTouched(fn: () => void) : void setDisabledState(isDisabled: boolean) : void }
Selectors
input:not([type=checkbox])[formControlName]
textarea[formControlName]
input:not([type=checkbox])[formControl]登录查看完整内容