5 lines
6.1 KiB
JSON
5 lines
6.1 KiB
JSON
{
|
|
"id": "api/forms/NgSelectOption",
|
|
"title": "NgSelectOption",
|
|
"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/NgSelectOption\", \"name\": \"NgSelectOption\" } }\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/select_control_value_accessor.ts?message=docs(forms)%3A%20describe%20your%20change...#L194-L256\" 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/select_control_value_accessor.ts#L194-L256\" 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=\"ngselectoption\">NgSelectOption<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/forms/NgSelectOption#ngselectoption\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label directive\">directive</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>Marks <code><option></code> as dynamic, so Angular can be notified when options change.</p>\n\n \n </section>\n \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/NgSelectOption#see-also\"><i class=\"material-icons\">link</i></a></h2>\n <ul>\n \n <li><p><code><a href=\"api/forms/SelectControlValueAccessor\" class=\"code-anchor\">SelectControlValueAccessor</a></code></p>\n</li>\n </ul>\n</section>\n\n\n <h2 id=\"ngmodules\">NgModules<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/forms/NgSelectOption#ngmodules\"><i class=\"material-icons\">link</i></a></h2>\n<ul class=\"ngmodule-list\">\n\n <li>\n <a href=\"api/forms/ReactiveFormsModule\">\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box\">ReactiveFormsModule</code-example>\n </a>\n </li>\n \n <li>\n <a href=\"api/forms/FormsModule\">\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box\">FormsModule</code-example>\n </a>\n </li>\n \n</ul>\n\n\n \n<section class=\"selector-list\">\n <h2 id=\"selectors\">Selectors<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/forms/NgSelectOption#selectors\"><i class=\"material-icons\">link</i></a></h2>\n \n <ul>\n <li><code>option</code></li>\n \n </ul>\n \n</section>\n\n\n\n \n\n<section class=\"instance-properties\">\n <h2 id=\"properties\">Properties<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/forms/NgSelectOption#properties\"><i class=\"material-icons\">link</i></a></h2>\n <table class=\"is-full-width list-table property-table\">\n <thead>\n <tr>\n <th>Property</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n \n <tr class=\"instance-property\">\n <td>\n <a id=\"id\"></a>\n <code class=\"\"><span class=\"member-name\">id</span>: string</code>\n </td>\n <td>\n \n <p>ID of the option element</p>\n\n \n </td>\n </tr>\n \n <tr class=\"instance-property\">\n <td>\n <a id=\"ngValue\"></a>\n <code class=\"\"><span class=\"property-binding\">@<a href=\"api/core/Input\" class=\"code-anchor\">Input</a>()</span><br><span class=\"member-name\">ngValue</span>: any</code>\n </td>\n <td><span class=\"write-only-property\">Write-Only</span>\n \n <p>Tracks the value bound to the option element. Unlike the value binding,\nngValue supports binding to objects.</p>\n\n \n </td>\n </tr>\n \n <tr class=\"instance-property\">\n <td>\n <a id=\"value\"></a>\n <code class=\"\"><span class=\"property-binding\">@<a href=\"api/core/Input\" class=\"code-anchor\">Input</a>()</span><br><span class=\"member-name\">value</span>: any</code>\n </td>\n <td><span class=\"write-only-property\">Write-Only</span>\n \n <p>Tracks simple string values bound to the option element.\nFor objects, use the <code>ngValue</code> input binding.</p>\n\n \n </td>\n </tr>\n \n </tbody>\n </table>\n</section>\n\n\n\n \n\n\n \n\n \n\n \n\n \n\n \n \n \n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/core/OnDestroy\n - api/forms\n - api/forms/FormsModule\n - api/forms/ReactiveFormsModule\n-->\n<!-- links from this doc:\n - /api\n - api/core/Input\n - api/forms\n - api/forms/FormsModule\n - api/forms/NgSelectOption#ngmodules\n - api/forms/NgSelectOption#ngselectoption\n - api/forms/NgSelectOption#properties\n - api/forms/NgSelectOption#see-also\n - api/forms/NgSelectOption#selectors\n - api/forms/ReactiveFormsModule\n - api/forms/SelectControlValueAccessor\n - https://github.com/angular/angular/edit/master/packages/forms/src/directives/select_control_value_accessor.ts?message=docs(forms)%3A%20describe%20your%20change...#L194-L256\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/forms/src/directives/select_control_value_accessor.ts#L194-L256\n-->"
|
|
} |