5 lines
9.1 KiB
JSON
5 lines
9.1 KiB
JSON
{
|
|
"id": "api/upgrade/static",
|
|
"title": "@angular/upgrade/static",
|
|
"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 { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/upgrade/static\", \"name\": \"@angular/upgrade/static\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/upgrade\">@angular/upgrade</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/upgrade/static/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/static/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=\"angularupgradestatic\">@angular/upgrade/static<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade/static#angularupgradestatic\"><i class=\"material-icons\">link</i></a></h1>\n <label class=\"api-type-label NaN\">entry-point</label>\n \n \n \n</header>\n\n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\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 \n\n \n\n\n \n\n <h2 id=\"entry-point-exports\">Entry point exports<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade/static#entry-point-exports\"><i class=\"material-icons\">link</i></a></h2>\n \n \n \n \n \n <section class=\"export-list\">\n <h3 id=\"ngmodules\">NgModules<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade/static#ngmodules\"><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/UpgradeModule\">UpgradeModule</a></code></td>\n <td>\n \n <p>An <code><a href=\"api/core/NgModule\" class=\"code-anchor\">NgModule</a></code>, which you import to provide AngularJS core services,\nand has an instance method used to bootstrap the hybrid upgrade 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 <section class=\"export-list\">\n <h3 id=\"functions\">Functions<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade/static#functions\"><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/downgradeComponent\">downgradeComponent</a></code></td>\n <td>\n \n <p>A helper function that allows an Angular component to be used from AngularJS.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/upgrade/static/downgradeInjectable\">downgradeInjectable</a></code></td>\n <td>\n \n <p>A helper function to allow an Angular service to be accessible from AngularJS.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/upgrade/static/downgradeModule\">downgradeModule</a></code></td>\n <td>\n \n <p>A helper function for creating an AngularJS module that can bootstrap an Angular module\n\"on-demand\" (possibly lazily) when a <a href=\"api/upgrade/static/downgradeComponent\">downgraded component</a> needs to be\ninstantiated.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/upgrade/static/getAngularJSGlobal\">getAngularJSGlobal</a></code></td>\n <td>\n \n <p>Returns the current AngularJS global.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/upgrade/static/getAngularLib\" class=\"deprecated-api-item\">getAngularLib</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> Use <code><a href=\"api/upgrade/static/getAngularJSGlobal\" class=\"code-anchor\">getAngularJSGlobal</a></code> instead.</p>\n\n \n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/upgrade/static/setAngularJSGlobal\">setAngularJSGlobal</a></code></td>\n <td>\n \n <p>Resets the AngularJS global.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/upgrade/static/setAngularLib\" class=\"deprecated-api-item\">setAngularLib</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> Use <code><a href=\"api/upgrade/static/setAngularJSGlobal\" class=\"code-anchor\">setAngularJSGlobal</a></code> instead.</p>\n\n \n </td>\n </tr>\n \n </tbody></table>\n </section>\n \n\n \n \n \n\n \n \n \n <section class=\"export-list\">\n <h3 id=\"directives\">Directives<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/upgrade/static#directives\"><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/UpgradeComponent\">UpgradeComponent</a></code></td>\n <td>\n \n <p>A helper class that allows an AngularJS component to be used from Angular.</p>\n\n </td>\n </tr>\n \n </tbody></table>\n </section>\n \n\n \n \n \n\n \n \n \n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/animations/browser/AnimationDriver\n - api/animations/browser/testing/MockAnimationDriver\n - api/common/Location\n - api/common/NgForOf\n - api/common/NgIf\n - api/common/http/HttpClientXsrfModule\n - api/common/upgrade/LocationUpgradeModule\n - api/core/ComponentFactoryResolver\n - api/core/Injector\n - api/core/IterableDiffers\n - api/core/KeyValueDiffers\n - api/core/NgZone\n - api/core/Query\n - api/core/ReflectiveInjector\n - api/core/ReflectiveKey\n - api/core/WrappedValue\n - api/forms/ReactiveFormsModule\n - api/forms/Validators\n - api/platform-browser/BrowserModule\n - api/platform-browser/By\n - api/platform-browser/animations/BrowserAnimationsModule\n - api/router/Router\n - api/router/RouterModule\n - api/router/testing/RouterTestingModule\n - api/service-worker/ServiceWorkerModule\n - api/upgrade\n - api/upgrade/UpgradeAdapter\n - api/upgrade/UpgradeAdapterRef\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/createAngularJSTestingModule\n - api/upgrade/static/testing/createAngularTestingModule\n - guide/angular-compiler-options\n - guide/attribute-binding\n - guide/deprecations\n - guide/dynamic-component-loader\n - guide/ivy\n - guide/ivy-compatibility-examples\n - guide/migration-dynamic-flag\n - guide/migration-module-with-providers\n - guide/router-tutorial-toh\n - guide/singleton-services\n - guide/static-query-migration\n - guide/structural-directives\n - guide/style-precedence\n - guide/template-typecheck\n - guide/universal\n - guide/upgrade\n - guide/upgrade-performance\n-->\n<!-- links from this doc:\n - /api\n - api/core/NgModule\n - api/upgrade\n - api/upgrade/static#angularupgradestatic\n - api/upgrade/static#directives\n - api/upgrade/static#entry-point-exports\n - api/upgrade/static#functions\n - api/upgrade/static#ngmodules\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 - https://github.com/angular/angular/edit/master/packages/upgrade/static/PACKAGE.md?message=docs(...)%3A%20describe%20your%20change...\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/upgrade/static/PACKAGE.md\n-->"
|
|
} |