FormsModule

The ng module for forms.

模板驱动表单的 NgModule。

class FormsModule { }

注解

@NgModule({ declarations: TEMPLATE_DRIVEN_DIRECTIVES, providers: [RadioControlRegistry], exports: [InternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES] })