5 lines
11 KiB
JSON
5 lines
11 KiB
JSON
|
{
|
||
|
"id": "api/router/UrlSegment",
|
||
|
"title": "UrlSegment",
|
||
|
"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/router\", \"name\": \"@angular/router\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/router/UrlSegment\", \"name\": \"UrlSegment\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/router\">@angular/router</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/router/src/url_tree.ts?message=docs(router)%3A%20describe%20your%20change...#L256-L307\" 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/router/src/url_tree.ts#L256-L307\" 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=\"urlsegment\">UrlSegment<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/router/UrlSegment#urlsegment\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label class\">class</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>Represents a single URL segment.</p>\n\n <p><a href=\"api/router/UrlSegment#description\">See more...</a></p>\n </section>\n \n \n \n <section class=\"class-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\nclass <a href=\"api/router/UrlSegment\" class=\"code-anchor\">UrlSegment</a> {\n <a class=\"code-anchor\" href=\"api/router/UrlSegment#constructor()\"><span class=\"member-name\">constructor</span>(path: string, parameters: { [name: string]: string; })</a>\n <a class=\"code-anchor\" href=\"api/router/UrlSegment#path\"><span class=\"member-name\">path</span>: string</a>\n <a class=\"code-anchor\" href=\"api/router/UrlSegment#parameters\"><span class=\"member-name\">parameters</span>: {...}</a>\n <a class=\"code-anchor\" href=\"api/router/UrlSegment#parameterMap\"><span class=\"member-name\">parameterMap</span></a>\n <a class=\"code-anchor\" href=\"api/router/UrlSegment#toString\"><span class=\"member-name\">toString</span>(): string</a>\n}\n</code-example>\n\n \n \n\n</section>\n\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/router/UrlSegment#description\"><i class=\"material-icons\">link</i></a></h2>\n <p>A UrlSegment is a part of a URL between the two slashes. It contains a path and the matrix\nparameters associated with the segment.</p>\n\n <p>Further information available in the <a href=\"api/router/UrlSegment#usage-notes\">Usage Notes</a>...</p>\n</section>\n\n \n\n\n\n\n\n\n<h2 id=\"constructor\">Constructor<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/router/UrlSegment#constructor\"><i class=\"material-icons\">link</i></a></h2>\n<a id=\"constructor()\"></a>\n<table class=\"is-full-width method-table constructor\">\n \n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">constructor</span>(path: string, parameters: { [name: string]: string; })</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters\">Parameters</h6>
|
||
|
}
|