根据最新版本的Angular文档,@angular/forms导出以下内容:
export {FormControlDirective} from './directives/reactive_directives/form_control_directive';
export {FormControlName} from './directives/reactive_directives/form_control_name';
export {FormGroupDirective} from './directives/reactive_directives/form_group_directive';
export {FormArrayName} from './directives/reactive_directives/form_group_name';
export {FormGroupName} from './directives/reactive_directives/form_group_name';
为什么有FormControlName
和FormControlDirective
,FormGroupName
和FormGroupDirective
,但是FormArrayName
没有对应的FormArrayDirective
呢?这是IT技术相关内容。