🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# 按数据类型分类 --- ## 类 ``` AbstractControl AbstractControlDirective AbstractFormGroupDirective ControlContainer FormBuilder FormArray FormControl FormGroup FormsModule NgControl ReactiveFromsModule Validators ``` ## 指令 ``` CheckboxControlValueAccessor DefaultValueAccessor RadioControlValueAccessor SelectControlValueAccessor SelectMultipleControlValueAccessor FormArrayName FormControlName FormGroupName FormControlDirective FormGroupDirective MaxLengthValidator MinLengthValidator PatternValidator RequiredValidator NgForm NgModel NgModelGroup NgSelectOption ``` ## 接口 ``` AsyncValidatorFn ControlValueAccessor Form Validator ValidatorFn ``` ## 常量 ``` NG_ASYNC_VALIDATORS NG_VALIDATORS NG_VALUE_ACCESSOR ``` ## 按适接口申明 --- ## form_providers.d.ts - FormModule - ReactiveFormsModule ## model.d.ts - AbstractControl - FormControl - FormGroup - FormArray ## formBuilder.d.ts - FormBuilder ## directives.d.ts - Type - CheckboxControlValueAccessor - ControlValueAccessor - DefaultValueAccessor - NgControl - NgControlStatus, NgControlStatusGroup - NgForm - NgModel - NgModelGroup - NumberValueAccessor - RadioControlValueAccessor - FormControlDirective - FormControlName - FormGroupDirective - FormArrayName, FormGroupName - NgSelectOption, SelectControlValueAccessor - NgSelectMultipleOption, SelectMultipleControlValueAccessor - MaxLengthValidator, MinLengthValidator, PatternValidator, RequiredValidator - SHARED_FORM_DIRECTIVES - TEMPLATE_DREVEN_DIRECTIVES - REACTIVE_DRIVEN_DIRECTIVES ## forms.d.ts - Form - NgControl - NgControlStatus, NgControlStatusGroup - NgForm - NgModel - NgModelGroup - RadioControlValueAccessor - FormControlDirective - FormControlName - FormGroupDirective - FormArrayName - FormGroupName - NgSelectOption, SelectControlValueAccessor - SelectMultipleControlValueAccessor - AsyncValidatorFn, MaxLengthValidator, MinLengthValidator, PatternValidator, RequiredValidator, Validator, ValidatorFn - FormBuilder - AbstractControl, FormArray, FormControl, FormGroup - NG_ASYNC_VALIDATORS, NG_VALIDATORS, Validators ## validators.d.ts - NG_VALIDATORS - NG_ASYNC_VALIDATORS - Validators