5 lines
19 KiB
JSON
Raw Normal View History

{
"id": "api/forms/FormsModule",
"title": "FormsModule",
"contents": "\n\n<article>\n <div class=\"breadcrumb-container\">\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/forms\", \"name\": \"@angular/forms\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/forms/FormsModule\", \"name\": \"FormsModule\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/forms\">@angular/forms</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/forms/src/form_providers.ts?message=docs(forms)%3A%20describe%20your%20change...#L12-L30\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/forms/src/form_providers.ts#L12-L30\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"formsmodule\">FormsModule<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/forms/FormsModule#formsmodule\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label ngmodule\">ngmodule</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p>Exports the required providers and directives for template-driven forms,\nmaking them available for import by NgModules that import this module.</p>\n\n <p><a href=\"api/forms/FormsModule#description\">See more...</a></p>\n </section>\n \n \n \n <section class=\"ngmodule-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\nclass <a href=\"api/forms/FormsModule\" class=\"code-anchor\">FormsModule</a> {\n}\n</code-example>\n\n \n \n\n</section>\n\n\n \n<section class=\"see-also\">\n <h2 id=\"see-also\">See also<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/forms/FormsModule#see-also\"><i class=\"material-icons\">link</i></a></h2>\n <ul>\n \n <li><p><a href=\"/guide/forms-overview\">Forms Overview</a></p>\n</li>\n <li><p><a href=\"/guide/forms\">Template-driven Forms Guide</a></p>\n</li>\n </ul>\n</section>\n\n\n \n \n \n<section class=\"description\">\n <h2 id=\"description\">Description<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/forms/FormsModule#description\"><i class=\"material-icons\">link</i></a></h2>\n <p>Providers associated with this module:</p>\n<ul>\n<li><code>RadioControlRegistry</code></li>\n</ul>\n\n \n</section>\n\n \n\n \n\n \n\n \n\n\n \n\n\n \n\n \n \n<section class=\"directives\">\n <h2 id=\"directives\">Directives<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/forms/FormsModule#directives\"><i class=\"material-icons\">link</i></a></h2>\n <table class=\"is-full-width list-table directive-table\">\n <thead>\n <tr><th>Name</th><th>Description</th></tr>\n </thead>\n <tbody>\n \n <tr>\n <td>\n <a href=\"api/forms/CheckboxControlValueAccessor\">\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box\">CheckboxControlValueAccessor</code-example>\n </a>\n </td>\n <td>\n \n <p>A <code><a href=\"api/forms/ControlValueAccessor\" class=\"code-anchor\">ControlValueAccessor</a></code> for writing a value and listening to changes on a checkbox input\nelement.</p>\n\n </td>\n </
}