5 lines
7.3 KiB
JSON
5 lines
7.3 KiB
JSON
{
|
|
"id": "api/upgrade",
|
|
"title": "@angular/upgrade",
|
|
"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/upgrade\", \"name\": \"@angular/upgrade\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/upgrade/PACKAGE.md?message=docs(...)%3A%20describe%20your%20change...\" 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/upgrade/PACKAGE.md\" 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=\"angularupgrade\">@angular/upgrade<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade#angularupgrade\"><i class=\"material-icons\">link</i></a></h1>\n <label class=\"api-type-label package\">package</label>\n \n \n \n</header>\n\n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n <p>Provides support for upgrading applications from Angular JS to Angular.\nThe primary entry point is deprecated. Use the secondary entry point,\n<code><a href=\"api/upgrade/static\" class=\"code-anchor\">upgrade/static</a></code>.</p>\n\n <p>See <a href=\"guide/deprecations\">Angular deprecation policy</a>.</p>\n\n\n \n\n\n \n <h2 id=\"entry-points\">Entry points<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade#entry-points\"><i class=\"material-icons\">link</i></a></h2>\n \n \n \n <section class=\"export-list\">\n <h3 id=\"primary\">Primary<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade#primary\"><i class=\"material-icons\">link</i></a></h3>\n <table class=\"is-full-width list-table\">\n \n <tbody><tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/upgrade#primary-entry-point-exports\" class=\"deprecated-api-item\">@angular/upgrade</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> all exports of this entry point are deprecated.</p>\n\n <p>Provides support for upgrading applications from Angular JS to Angular.\nThe primary entry point is deprecated. Use the secondary entry point,\n<code><a href=\"api/upgrade/static\" class=\"code-anchor\">upgrade/static</a></code>.</p>\n\n </td>\n </tr>\n \n </tbody></table>\n </section>\n \n\n \n \n \n <section class=\"export-list\">\n <h3 id=\"secondary\">Secondary<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade#secondary\"><i class=\"material-icons\">link</i></a></h3>\n <table class=\"is-full-width list-table\">\n \n <tbody><tr>\n <td><code class=\"code-anchor\"><a href=\"api/upgrade/static\">@angular/upgrade/static</a></code></td>\n <td>\n \n <p>Supports the upgrade path from AngularJS to Angular, allowing\ncomponents and services from both systems to be used in the same application.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/upgrade/static/testing\">@angular/upgrade/static/testing</a></code></td>\n <td>\n \n <p>Supplies testing functions for the AngularJS-to-Angular upgrade path.</p>\n\n </td>\n </tr>\n \n </tbody></table>\n </section>\n \n\n \n\n <h2 id=\"primary-entry-point-exports\">Primary entry point exports<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade#primary-entry-point-exports\"><i class=\"material-icons\">link</i></a></h2>\n \n \n<section class=\"deprecated\">\n <p><strong>Deprecated:</strong> all exports of this entry point are deprecated.</p>\n\n</section>\n\n \n \n \n\n \n \n \n <section class=\"export-list\">\n <h3 id=\"classes\">Classes<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade#classes\"><i class=\"material-icons\">link</i></a></h3>\n <table class=\"is-full-width list-table\">\n \n <tbody><tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/upgrade/UpgradeAdapter\" class=\"deprecated-api-item\">UpgradeAdapter</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> Deprecated since v5. Use <code><a href=\"api/upgrade/static\" class=\"code-anchor\">upgrade/static</a></code> instead, which also supports\n<a href=\"guide/aot-compiler\">Ahead-of-Time compilation</a>.</p>\n\n <p>Use <code><a href=\"api/upgrade/UpgradeAdapter\" class=\"code-anchor\">UpgradeAdapter</a></code> to allow AngularJS and Angular to coexist in a single application.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/upgrade/UpgradeAdapterRef\" class=\"deprecated-api-item\">UpgradeAdapterRef</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> Deprecated since v5. Use <code><a href=\"api/upgrade/static\" class=\"code-anchor\">upgrade/static</a></code> instead, which also supports\n<a href=\"guide/aot-compiler\">Ahead-of-Time compilation</a>.</p>\n\n <p>Use <code><a href=\"api/upgrade/UpgradeAdapterRef\" class=\"code-anchor\">UpgradeAdapterRef</a></code> to control a hybrid AngularJS / Angular application.</p>\n\n </td>\n </tr>\n \n </tbody></table>\n </section>\n \n\n \n \n \n\n \n \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/upgrade/UpgradeAdapter\n - api/upgrade/UpgradeAdapterRef\n - api/upgrade/static\n - api/upgrade/static/UpgradeComponent\n - api/upgrade/static/UpgradeModule\n - api/upgrade/static/downgradeComponent\n - api/upgrade/static/downgradeInjectable\n - api/upgrade/static/downgradeModule\n - api/upgrade/static/getAngularJSGlobal\n - api/upgrade/static/getAngularLib\n - api/upgrade/static/setAngularJSGlobal\n - api/upgrade/static/setAngularLib\n - api/upgrade/static/testing\n - api/upgrade/static/testing/createAngularJSTestingModule\n - api/upgrade/static/testing/createAngularTestingModule\n - guide/deprecations\n-->\n<!-- links from this doc:\n - /api\n - api/upgrade#angularupgrade\n - api/upgrade#classes\n - api/upgrade#entry-points\n - api/upgrade#primary\n - api/upgrade#primary-entry-point-exports\n - api/upgrade#secondary\n - api/upgrade/UpgradeAdapter\n - api/upgrade/UpgradeAdapterRef\n - api/upgrade/static\n - api/upgrade/static/testing\n - guide/aot-compiler\n - guide/deprecations\n - https://github.com/angular/angular/edit/master/packages/upgrade/PACKAGE.md?message=docs(...)%3A%20describe%20your%20change...\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/upgrade/PACKAGE.md\n-->"
|
|
} |