5 lines
4.0 KiB
JSON

{
"id": "api/common/KeyValue",
"title": "KeyValue",
"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/common\", \"name\": \"@angular/common\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/common/KeyValue\", \"name\": \"KeyValue\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/common\">@angular/common</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/common/src/pipes/keyvalue_pipe.ts?message=docs(common)%3A%20describe%20your%20change...#L14-L24\" 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/common/src/pipes/keyvalue_pipe.ts#L14-L24\" 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=\"keyvalue\">KeyValue<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/KeyValue#keyvalue\"><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>A key value pair.\nUsually used to represent the key value pairs from a Map or Object.</p>\n\n \n </section>\n \n \n <section class=\"interface-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\ninterface <a href=\"api/common/KeyValue\" class=\"code-anchor\">KeyValue</a>&#x3C;K, V> {\n <a class=\"code-anchor\" href=\"api/common/KeyValue#key\"><span class=\"member-name\">key</span>: K</a>\n <a class=\"code-anchor\" href=\"api/common/KeyValue#value\"><span class=\"member-name\">value</span>: V</a>\n}\n</code-example>\n\n \n \n\n\n \n \n\n</section>\n\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/common/KeyValue#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=\"key\"></a>\n <code class=\"\"><span class=\"member-name\">key</span>: K</code>\n </td>\n <td>\n \n \n \n </td>\n </tr>\n \n <tr class=\"instance-property\">\n <td>\n <a id=\"value\"></a>\n <code class=\"\"><span class=\"member-name\">value</span>: V</code>\n </td>\n <td>\n \n \n \n </td>\n </tr>\n \n </tbody>\n </table>\n</section>\n \n\n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/common\n - api/common/KeyValuePipe\n-->\n<!-- links from this doc:\n - /api\n - api/common\n - api/common/KeyValue#key\n - api/common/KeyValue#keyvalue\n - api/common/KeyValue#properties\n - api/common/KeyValue#value\n - https://github.com/angular/angular/edit/master/packages/common/src/pipes/keyvalue_pipe.ts?message=docs(common)%3A%20describe%20your%20change...#L14-L24\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/common/src/pipes/keyvalue_pipe.ts#L14-L24\n-->"
}