5 lines
3.8 KiB
JSON
5 lines
3.8 KiB
JSON
{
|
|
"id": "api/router/DeprecatedLoadChildren",
|
|
"title": "DeprecatedLoadChildren",
|
|
"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/DeprecatedLoadChildren\", \"name\": \"DeprecatedLoadChildren\" } }\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/config.ts?message=docs(router)%3A%20describe%20your%20change...#L123-L134\" 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/config.ts#L123-L134\" 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=\"deprecatedloadchildren\">DeprecatedLoadChildren<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/router/DeprecatedLoadChildren#deprecatedloadchildren\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label type-alias\">type-alias</label>\n <label class=\"api-status-label deprecated\">deprecated</label>\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 string of the form <code>path/to/file#exportName</code> that acts as a URL for a set of routes to load.</p>\n\n \n </section>\n \n \n<section class=\"deprecated\">\n <p><strong>Deprecated:</strong> The <code>string</code> form of <code>loadChildren</code> is deprecated in favor of the\n<code><a href=\"api/router/LoadChildrenCallback\" class=\"code-anchor\">LoadChildrenCallback</a></code> function which uses the ES dynamic <code>import()</code> expression.\nThis offers a more natural and standards-based mechanism to dynamically\nload an ES module at runtime.</p>\n\n</section>\n\n \n <section class=\"type-alias-overview\">\n <code-example language=\"ts\" hidecopy=\"true\">\n type <a href=\"api/router/DeprecatedLoadChildren\" class=\"code-anchor\">DeprecatedLoadChildren</a> = string;\n </code-example>\n </section>\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/router/DeprecatedLoadChildren#see-also\"><i class=\"material-icons\">link</i></a></h2>\n <ul>\n \n <li><p><code>loadChildrenCallback</code></p>\n</li>\n </ul>\n</section>\n\n\n \n \n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/router\n - api/router/LoadChildren\n-->\n<!-- links from this doc:\n - /api\n - api/router\n - api/router/DeprecatedLoadChildren#deprecatedloadchildren\n - api/router/DeprecatedLoadChildren#see-also\n - api/router/LoadChildrenCallback\n - https://github.com/angular/angular/edit/master/packages/router/src/config.ts?message=docs(router)%3A%20describe%20your%20change...#L123-L134\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/router/src/config.ts#L123-L134\n-->"
|
|
} |