5 lines
161 KiB
JSON
5 lines
161 KiB
JSON
|
{
|
||
|
"id": "api/forms/Form",
|
||
|
"title": "Form",
|
||
|
"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/Form\", \"name\": \"Form\" } }\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/directives/form_interface.ts?message=docs(forms)%3A%20describe%20your%20change...#L13-L81\" 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/directives/form_interface.ts#L13-L81\" 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=\"form\">Form<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/forms/Form#form\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label interface\">interface</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>An interface implemented by <code><a href=\"api/forms/FormGroupDirective\" class=\"code-anchor\">FormGroupDirective</a></code> and <code><a href=\"api/forms/NgForm\" class=\"code-anchor\">NgForm</a></code> directives.</p>\n\n <p><a href=\"api/forms/Form#description\">See more...</a></p>\n </section>\n \n \n <section class=\"interface-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\ninterface <a href=\"api/forms/Form\" class=\"code-anchor\">Form</a> {\n <a class=\"code-anchor\" href=\"api/forms/Form#addControl\"><span class=\"member-name\">addControl</span>(dir: NgControl): void</a>\n <a class=\"code-anchor\" href=\"api/forms/Form#removeControl\"><span class=\"member-name\">removeControl</span>(dir: NgControl): void</a>\n <a class=\"code-anchor\" href=\"api/forms/Form#getControl\"><span class=\"member-name\">getControl</span>(dir: NgControl): FormControl</a>\n <a class=\"code-anchor\" href=\"api/forms/Form#addFormGroup\"><span class=\"member-name\">addFormGroup</span>(dir: AbstractFormGroupDirective): void</a>\n <a class=\"code-anchor\" href=\"api/forms/Form#removeFormGroup\"><span class=\"member-name\">removeFormGroup</span>(dir: AbstractFormGroupDirective): void</a>\n <a class=\"code-anchor\" href=\"api/forms/Form#getFormGroup\"><span class=\"member-name\">getFormGroup</span>(dir: AbstractFormGroupDirective): FormGroup</a>\n <a class=\"code-anchor\" href=\"api/forms/Form#updateModel\"><span class=\"member-name\">updateModel</span>(dir: NgControl, value: any): void</a>\n}\n</code-example>\n\n \n \n\n\n \n \n <div class=\"descendants class\">\n <h2 id=\"class-implementations\">Class implementations<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/forms/Form#class-implementations\"><i class=\"material-icons\">link</i></a></h2>\n \n\n<ul>\n \n <li>\n <code><a href=\"api/forms/NgForm\" class=\"code-anchor\">NgForm</a></code>\n \n\n\n </li>\n \n <li>\n <code><a href=\"api/forms/FormGroupDirective\" class=\"code-anchor\">FormGroupDirective</a></code>\n \n\n\n </li>\n \n</ul>\n\n\n </div>\n \n\n</section>\n\n \n\n \n \n<section class=\"description\">\n <h2 id=\"descrip
|
||
|
}
|