5 lines
70 KiB
JSON
5 lines
70 KiB
JSON
{
|
|
"id": "api/core",
|
|
"title": "@angular/core",
|
|
"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/core\", \"name\": \"@angular/core\" } }\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/core/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/core/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=\"angularcore\">@angular/core<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core#angularcore\"><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>Implements Angular's core functionality, low-level services, and utilities.</p>\n\n <ul>\n<li>\n<p>Defines the class infrastructure for components, view hierarchies, change detection, rendering, and event handling.</p>\n</li>\n<li>\n<p>Defines the decorators that supply metadata and context for Angular constructs. </p>\n</li>\n<li>\n<p>Defines infrastructure for dependency injection (DI), internationalization (i18n), and various testing and debugging facilities.</p>\n</li>\n</ul>\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/core#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/core#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\"><a href=\"api/core#primary-entry-point-exports\">@angular/core</a></code></td>\n <td>\n \n <p>Implements Angular's core functionality, low-level services, and utilities.</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/core#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/core/global\">@angular/core/global</a></code></td>\n <td>\n \n <p>Exposes a set of functions in the global namespace which are useful for debugging the current state\nof your application.\nThese functions are exposed via the global <code>ng</code> \"namespace\" variable automatically when you import\nfrom <code>@angular/core</code> and run your application in development mode. These functions are not exposed\nwhen the application runs in a production mode.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/testing\">@angular/core/testing</a></code></td>\n <td>\n \n <p>Provides infrastructure for testing Angular core functionality.</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/core#primary-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/core#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/core/ApplicationModule\">ApplicationModule</a></code></td>\n <td>\n \n <p>Configures the root injector for an app with\nproviders of <code>@angular/core</code> dependencies that <code><a href=\"api/core/ApplicationRef\" class=\"code-anchor\">ApplicationRef</a></code> needs\nto bootstrap components.</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=\"classes\">Classes<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core#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\"><a href=\"api/core/ApplicationInitStatus\">ApplicationInitStatus</a></code></td>\n <td>\n \n <p>A class that reflects the state of running <a href=\"api/core/APP_INITIALIZER\"><code>APP_INITIALIZER</code></a> functions.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Attribute\">Attribute</a></code></td>\n <td>\n \n <p>Attribute decorator and metadata.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ChangeDetectorRef\">ChangeDetectorRef</a></code></td>\n <td>\n \n <p>Base class that provides change detection functionality.\nA change-detection tree collects all views that are to be checked for changes.\nUse the methods to add and remove views from the tree, initiate change-detection,\nand explicitly mark views as <em>dirty</em>, meaning that they have changed and need to be re-rendered.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Compiler\">Compiler</a></code></td>\n <td>\n \n <p>Low-level service for running the angular compiler during runtime\nto create <a href=\"api/core/ComponentFactory\"><code>ComponentFactory</code></a>s, which\ncan later be used to create and render a Component instance.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/CompilerFactory\">CompilerFactory</a></code></td>\n <td>\n \n <p>A factory for creating a Compiler</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ComponentFactory\">ComponentFactory</a></code></td>\n <td>\n \n <p>Base class for a factory that can create a component dynamically.\nInstantiate a factory for a given type of component with <code>resolveComponentFactory()</code>.\nUse the resulting <code>ComponentFactory.create()</code> method to create a component of that type.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ComponentFactoryResolver\">ComponentFactoryResolver</a></code></td>\n <td>\n \n <p>A simple registry that maps <code>Components</code> to generated <code><a href=\"api/core/ComponentFactory\" class=\"code-anchor\">ComponentFactory</a></code> classes\nthat can be used to create instances of components.\nUse to obtain the factory for a given component type,\nthen use the factory's <code>create()</code> method to create a component of that type.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ComponentRef\">ComponentRef</a></code></td>\n <td>\n \n <p>Represents a component created by a <code><a href=\"api/core/ComponentFactory\" class=\"code-anchor\">ComponentFactory</a></code>.\nProvides access to the component instance and related objects,\nand provides the means of destroying the instance.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/DebugElement\">DebugElement</a></code></td>\n <td>\n \n \n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/DebugEventListener\">DebugEventListener</a></code></td>\n <td>\n \n \n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/DebugNode\">DebugNode</a></code></td>\n <td>\n \n \n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/core/DefaultIterableDiffer\" class=\"deprecated-api-item\">DefaultIterableDiffer</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> v4.0.0 - Should not be part of public API.</p>\n\n \n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ElementRef\">ElementRef</a></code></td>\n <td>\n \n <p>A wrapper around a native element inside of a View.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/EmbeddedViewRef\">EmbeddedViewRef</a></code></td>\n <td>\n \n <p>Represents an Angular <a href=\"guide/glossary#view\">view</a> in a view container.\nAn <a href=\"guide/glossary#view-tree\">embedded view</a> can be referenced from a component\nother than the hosting component whose template defines it, or it can be defined\nindependently by a <code><a href=\"api/core/TemplateRef\" class=\"code-anchor\">TemplateRef</a></code>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ErrorHandler\">ErrorHandler</a></code></td>\n <td>\n \n <p>Provides a hook for centralized exception handling.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/EventEmitter\">EventEmitter</a></code></td>\n <td>\n \n <p>Use in components with the <code>@<a href=\"api/core/Output\" class=\"code-anchor\">Output</a></code> directive to emit custom events\nsynchronously or asynchronously, and register handlers for those events\nby subscribing to an instance.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/InjectionToken\">InjectionToken</a></code></td>\n <td>\n \n <p>Creates a token that can be used in a DI Provider.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Injector\">Injector</a></code></td>\n <td>\n \n <p>Concrete injectors implement this interface. Injectors are configured\nwith <a href=\"guide/glossary#provider\">providers</a> that associate\ndependencies of various types with <a href=\"guide/glossary#di-token\">injection tokens</a>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/IterableDiffers\">IterableDiffers</a></code></td>\n <td>\n \n <p>A repository of different iterable diffing strategies used by NgFor, NgClass, and others.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/KeyValueDiffers\">KeyValueDiffers</a></code></td>\n <td>\n \n <p>A repository of different Map diffing strategies used by NgClass, NgStyle, and others.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ModuleWithComponentFactories\">ModuleWithComponentFactories</a></code></td>\n <td>\n \n <p>Combination of NgModuleFactory and ComponentFactories.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/NgModuleFactory\">NgModuleFactory</a></code></td>\n <td>\n \n \n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/core/NgModuleFactoryLoader\" class=\"deprecated-api-item\">NgModuleFactoryLoader</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> the <code>string</code> form of <code>loadChildren</code> is deprecated, and <code><a href=\"api/core/NgModuleFactoryLoader\" class=\"code-anchor\">NgModuleFactoryLoader</a></code> is\npart of its implementation. See <code><a href=\"api/router/LoadChildren\" class=\"code-anchor\">LoadChildren</a></code> for more details.</p>\n\n <p>Used to load ng module factories.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/NgModuleRef\">NgModuleRef</a></code></td>\n <td>\n \n <p>Represents an instance of an <code><a href=\"api/core/NgModule\" class=\"code-anchor\">NgModule</a></code> created by an <code><a href=\"api/core/NgModuleFactory\" class=\"code-anchor\">NgModuleFactory</a></code>.\nProvides access to the <code><a href=\"api/core/NgModule\" class=\"code-anchor\">NgModule</a></code> instance and related objects.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/NgProbeToken\">NgProbeToken</a></code></td>\n <td>\n \n <p>A token for third-party components that can register themselves with NgProbe.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/NgZone\">NgZone</a></code></td>\n <td>\n \n <p>An injectable service for executing work inside or outside of the Angular zone.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Query\">Query</a></code></td>\n <td>\n \n <p>Base class for query metadata.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/QueryList\">QueryList</a></code></td>\n <td>\n \n <p>An unmodifiable list of items that Angular keeps up to date when the state\nof the application changes.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/core/ReflectiveInjector\" class=\"deprecated-api-item\">ReflectiveInjector</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> from v5 - slow and brings in a lot of code, Use <code>Injector.create</code> instead.</p>\n\n <p>A ReflectiveDependency injection container used for instantiating objects and resolving\ndependencies.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/core/ReflectiveKey\" class=\"deprecated-api-item\">ReflectiveKey</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> No replacement</p>\n\n <p>A unique object used for retrieving items from the <a href=\"api/core/ReflectiveInjector\"><code>ReflectiveInjector</code></a>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Renderer2\">Renderer2</a></code></td>\n <td>\n \n <p>Extend this base class to implement custom rendering. By default, Angular\nrenders a template into DOM. You can use custom rendering to intercept\nrendering calls, or to render to something other than DOM.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/RendererFactory2\">RendererFactory2</a></code></td>\n <td>\n \n <p>Creates and initializes a custom renderer that implements the <code><a href=\"api/core/Renderer2\" class=\"code-anchor\">Renderer2</a></code> base class.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ResolvedReflectiveFactory\">ResolvedReflectiveFactory</a></code></td>\n <td>\n \n <p>An internal resolved representation of a factory function created by resolving <code><a href=\"api/core/Provider\" class=\"code-anchor\">Provider</a></code>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Sanitizer\">Sanitizer</a></code></td>\n <td>\n \n <p>Sanitizer is used by the views to sanitize potentially dangerous values.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/SimpleChange\">SimpleChange</a></code></td>\n <td>\n \n <p>Represents a basic change from a previous to a new value for a single\nproperty on a directive instance. Passed as a value in a\n<a href=\"api/core/SimpleChanges\"><code>SimpleChanges</code></a> object to the <code>ngOnChanges</code> hook.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/core/SystemJsNgModuleLoader\" class=\"deprecated-api-item\">SystemJsNgModuleLoader</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> the <code>string</code> form of <code>loadChildren</code> is deprecated, and <code><a href=\"api/core/SystemJsNgModuleLoader\" class=\"code-anchor\">SystemJsNgModuleLoader</a></code> is\npart of its implementation. See <code><a href=\"api/router/LoadChildren\" class=\"code-anchor\">LoadChildren</a></code> for more details.</p>\n\n <p>NgModuleFactoryLoader that uses SystemJS to load NgModuleFactory</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/core/SystemJsNgModuleLoaderConfig\" class=\"deprecated-api-item\">SystemJsNgModuleLoaderConfig</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> the <code>string</code> form of <code>loadChildren</code> is deprecated, and <code><a href=\"api/core/SystemJsNgModuleLoaderConfig\" class=\"code-anchor\">SystemJsNgModuleLoaderConfig</a></code>\nis part of its implementation. See <code><a href=\"api/router/LoadChildren\" class=\"code-anchor\">LoadChildren</a></code> for more details.</p>\n\n <p>Configuration for SystemJsNgModuleLoader.\ntoken.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/TemplateRef\">TemplateRef</a></code></td>\n <td>\n \n <p>Represents an embedded template that can be used to instantiate embedded views.\nTo instantiate embedded views based on a template, use the <code><a href=\"api/core/ViewContainerRef\" class=\"code-anchor\">ViewContainerRef</a></code>\nmethod <code>createEmbeddedView()</code>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Testability\">Testability</a></code></td>\n <td>\n \n <p>The Testability service provides testing hooks that can be accessed from\nthe browser and by services such as Protractor. Each bootstrapped Angular\napplication on the page will have an instance of Testability.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/TestabilityRegistry\">TestabilityRegistry</a></code></td>\n <td>\n \n <p>A global registry of <a href=\"api/core/Testability\"><code>Testability</code></a> instances for specific elements.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Type\">Type</a></code></td>\n <td>\n \n <p>Represents a type that a Component or other object is instances of.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Version\">Version</a></code></td>\n <td>\n \n <p>Represents the version of Angular</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ViewContainerRef\">ViewContainerRef</a></code></td>\n <td>\n \n <p>Represents a container where one or more views can be attached to a component.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ViewRef\">ViewRef</a></code></td>\n <td>\n \n <p>Represents an Angular <a href=\"guide/glossary#view\" title=\"Definition\">view</a>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/core/WrappedValue\" class=\"deprecated-api-item\">WrappedValue</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> from v10 stop using. (No replacement, deemed unnecessary.)</p>\n\n <p>Indicates that the result of a <a href=\"api/core/Pipe\"><code>Pipe</code></a> transformation has changed even though the\nreference has not changed.</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=\"decorators\">Decorators<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core#decorators\"><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/core/Component\">Component</a></code></td>\n <td>\n \n <p>Decorator that marks a class as an Angular component and provides configuration\nmetadata that determines how the component should be processed,\ninstantiated, and used at runtime.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ContentChild\">ContentChild</a></code></td>\n <td>\n \n <p>Parameter decorator that configures a content query.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ContentChildren\">ContentChildren</a></code></td>\n <td>\n \n <p>Parameter decorator that configures a content query.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Directive\">Directive</a></code></td>\n <td>\n \n <p>Decorator that marks a class as an Angular directive.\nYou can define your own directives to attach custom behavior to elements in the DOM.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Host\">Host</a></code></td>\n <td>\n \n <p>Parameter decorator on a view-provider parameter of a class constructor\nthat tells the DI framework to resolve the view by checking injectors of child\nelements, and stop when reaching the host element of the current component.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/HostBinding\">HostBinding</a></code></td>\n <td>\n \n <p>Decorator that marks a DOM property as a host-binding property and supplies configuration\nmetadata.\nAngular automatically checks host property bindings during change detection, and\nif a binding changes it updates the host element of the directive.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/HostListener\">HostListener</a></code></td>\n <td>\n \n <p>Decorator that declares a DOM event to listen for,\nand provides a handler method to run when that event occurs.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Inject\">Inject</a></code></td>\n <td>\n \n <p>Parameter decorator on a dependency parameter of a class constructor\nthat specifies a custom provider of the dependency.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Injectable\">Injectable</a></code></td>\n <td>\n \n <p>Decorator that marks a class as available to be\nprovided and injected as a dependency.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Input\">Input</a></code></td>\n <td>\n \n <p>Decorator that marks a class field as an input property and supplies configuration metadata.\nThe input property is bound to a DOM property in the template. During change detection,\nAngular automatically updates the data property with the DOM property's value.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/NgModule\">NgModule</a></code></td>\n <td>\n \n <p>Decorator that marks a class as an NgModule and supplies configuration metadata.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Optional\">Optional</a></code></td>\n <td>\n \n <p>Parameter decorator to be used on constructor parameters,\nwhich marks the parameter as being an optional dependency.\nThe DI framework provides <code>null</code> if the dependency is not found.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Output\">Output</a></code></td>\n <td>\n \n <p>Decorator that marks a class field as an output property and supplies configuration metadata.\nThe DOM property bound to the output property is automatically updated during change detection.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Pipe\">Pipe</a></code></td>\n <td>\n \n <p>Decorator that marks a class as pipe and supplies configuration metadata.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Self\">Self</a></code></td>\n <td>\n \n <p>Parameter decorator to be used on constructor parameters,\nwhich tells the DI framework to start dependency resolution from the local injector.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/SkipSelf\">SkipSelf</a></code></td>\n <td>\n \n <p>Parameter decorator to be used on constructor parameters,\nwhich tells the DI framework to start dependency resolution from the parent injector.\nResolution works upward through the injector hierarchy, so the local injector\nis not checked for a provider.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ViewChild\">ViewChild</a></code></td>\n <td>\n \n <p>Property decorator that configures a view query.\nThe change detector looks for the first element or the directive matching the selector\nin the view DOM. If the view DOM changes, and a new child matches the selector,\nthe property is updated.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ViewChildren\">ViewChildren</a></code></td>\n <td>\n \n <p>Parameter decorator that configures a view query.</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=\"functions\">Functions<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core#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/core/asNativeElements\">asNativeElements</a></code></td>\n <td>\n \n \n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/assertPlatform\">assertPlatform</a></code></td>\n <td>\n \n <p>Checks that there is currently a platform that contains the given token as a provider.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/createPlatform\">createPlatform</a></code></td>\n <td>\n \n <p>Creates a platform.\nPlatforms must be created on launch using this function.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/createPlatformFactory\">createPlatformFactory</a></code></td>\n <td>\n \n <p>Creates a factory for a platform. Can be used to provide or override <code>Providers</code> specific to\nyour application's runtime needs, such as <code><a href=\"api/core/PLATFORM_INITIALIZER\" class=\"code-anchor\">PLATFORM_INITIALIZER</a></code> and <code><a href=\"api/core/PLATFORM_ID\" class=\"code-anchor\">PLATFORM_ID</a></code>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/destroyPlatform\">destroyPlatform</a></code></td>\n <td>\n \n <p>Destroys the current Angular platform and all Angular applications on the page.\nDestroys all modules and listeners registered with the platform.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/enableProdMode\">enableProdMode</a></code></td>\n <td>\n \n <p>Disable Angular's development mode, which turns off assertions and other\nchecks within the framework.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/forwardRef\">forwardRef</a></code></td>\n <td>\n \n <p>Allows to refer to references which are not yet defined.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/getPlatform\">getPlatform</a></code></td>\n <td>\n \n <p>Returns the current platform.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/isDevMode\">isDevMode</a></code></td>\n <td>\n \n <p>Returns whether Angular is in development mode. After called once,\nthe value is locked and won't change any more.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/resolveForwardRef\">resolveForwardRef</a></code></td>\n <td>\n \n <p>Lazily retrieves the reference value from a forwardRef.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/setTestabilityGetter\">setTestabilityGetter</a></code></td>\n <td>\n \n <p>Set the <a href=\"api/core/GetTestability\"><code>GetTestability</code></a> implementation used by the Angular testing framework.</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=\"structures\">Structures<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core#structures\"><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/core/AbstractType\">AbstractType</a></code></td>\n <td>\n \n <p>Represents an abstract class <code>T</code>, if applied to a concrete class it would stop being\ninstantiable.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/AfterContentChecked\">AfterContentChecked</a></code></td>\n <td>\n \n <p>A lifecycle hook that is called after the default change detector has\ncompleted checking all content of a directive.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/AfterContentInit\">AfterContentInit</a></code></td>\n <td>\n \n <p>A lifecycle hook that is called after Angular has fully initialized\nall content of a directive.\nDefine an <code>ngAfterContentInit()</code> method to handle any additional initialization tasks.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/AfterViewChecked\">AfterViewChecked</a></code></td>\n <td>\n \n <p>A lifecycle hook that is called after the default change detector has\ncompleted checking a component's view for changes.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/AfterViewInit\">AfterViewInit</a></code></td>\n <td>\n \n <p>A lifecycle hook that is called after Angular has fully initialized\na component's view.\nDefine an <code>ngAfterViewInit()</code> method to handle any additional initialization tasks.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ApplicationRef\">ApplicationRef</a></code></td>\n <td>\n \n <p>A reference to an Angular application running on a page.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/AttributeDecorator\">AttributeDecorator</a></code></td>\n <td>\n \n <p>Type of the Attribute decorator / constructor function.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ChangeDetectionStrategy\">ChangeDetectionStrategy</a></code></td>\n <td>\n \n <p>The strategy that the default change detector uses to detect changes.\nWhen set, takes effect the next time change detection is triggered.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ClassProvider\">ClassProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return an instance of <code>useClass</code> for a token.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ClassSansProvider\">ClassSansProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return a value by invoking a <code>useClass</code> function.\nBase for <code><a href=\"api/core/ClassProvider\" class=\"code-anchor\">ClassProvider</a></code> decorator.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ConstructorProvider\">ConstructorProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return an instance of a token.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ConstructorSansProvider\">ConstructorSansProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return an instance of a token.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/DoBootstrap\">DoBootstrap</a></code></td>\n <td>\n \n <p>Hook for manual bootstrapping of the application instead of using bootstrap array in @NgModule\nannotation.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/DoCheck\">DoCheck</a></code></td>\n <td>\n \n <p>A lifecycle hook that invokes a custom change-detection function for a directive,\nin addition to the check performed by the default change-detector.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ExistingProvider\">ExistingProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return a value of another <code>useExisting</code> token.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ExistingSansProvider\">ExistingSansProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return a value of another <code>useExisting</code> token.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/FactoryProvider\">FactoryProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return a value by invoking a <code>useFactory</code> function.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/FactorySansProvider\">FactorySansProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return a value by invoking a <code>useFactory</code> function.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ForwardRefFn\">ForwardRefFn</a></code></td>\n <td>\n \n <p>An interface that a function passed into <a href=\"api/core/forwardRef\"><code>forwardRef</code></a> has to implement.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/GetTestability\">GetTestability</a></code></td>\n <td>\n \n <p>Adapter interface for retrieving the <code><a href=\"api/core/Testability\" class=\"code-anchor\">Testability</a></code> service associated for a\nparticular context.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/InjectFlags\">InjectFlags</a></code></td>\n <td>\n \n <p>Injection flags for DI.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/InjectableType\">InjectableType</a></code></td>\n <td>\n \n <p>A <code><a href=\"api/core/Type\" class=\"code-anchor\">Type</a></code> which has an <code>InjectableDef</code> static field.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/InjectorType\">InjectorType</a></code></td>\n <td>\n \n <p>A type which has an <code>InjectorDef</code> static field.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/IterableChangeRecord\">IterableChangeRecord</a></code></td>\n <td>\n \n <p>Record representing the item change information.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/IterableChanges\">IterableChanges</a></code></td>\n <td>\n \n <p>An object describing the changes in the <code>Iterable</code> collection since last time\n<code><a href=\"api/core/IterableDiffer\" class=\"code-anchor\">IterableDiffer</a>#diff()</code> was invoked.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/IterableDiffer\">IterableDiffer</a></code></td>\n <td>\n \n <p>A strategy for tracking changes over time to an iterable. Used by <a href=\"api/common/NgForOf\"><code>NgForOf</code></a> to\nrespond to changes in an iterable by effecting equivalent changes in the DOM.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/IterableDifferFactory\">IterableDifferFactory</a></code></td>\n <td>\n \n <p>Provides a factory for <a href=\"api/core/IterableDiffer\"><code>IterableDiffer</code></a>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/KeyValueChangeRecord\">KeyValueChangeRecord</a></code></td>\n <td>\n \n <p>Record representing the item change information.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/KeyValueChanges\">KeyValueChanges</a></code></td>\n <td>\n \n <p>An object describing the changes in the <code>Map</code> or <code>{[k:string]: string}</code> since last time\n<code><a href=\"api/core/KeyValueDiffer\" class=\"code-anchor\">KeyValueDiffer</a>#diff()</code> was invoked.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/KeyValueDiffer\">KeyValueDiffer</a></code></td>\n <td>\n \n <p>A differ that tracks changes made to an object over time.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/KeyValueDifferFactory\">KeyValueDifferFactory</a></code></td>\n <td>\n \n <p>Provides a factory for <a href=\"api/core/KeyValueDiffer\"><code>KeyValueDiffer</code></a>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/MissingTranslationStrategy\">MissingTranslationStrategy</a></code></td>\n <td>\n \n <p>Use this enum at bootstrap as an option of <code>bootstrapModule</code> to define the strategy\nthat the compiler should use in case of missing translations:</p>\n<ul>\n<li>Error: throw if you have missing translations.</li>\n<li>Warning (default): show a warning in the console and/or shell.</li>\n<li>Ignore: do nothing.</li>\n</ul>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ModuleWithProviders\">ModuleWithProviders</a></code></td>\n <td>\n \n <p>A wrapper around an NgModule that associates it with <a href=\"guide/glossary#provider\" title=\"Definition\">providers</a>. Usage without a generic type is deprecated.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/OnChanges\">OnChanges</a></code></td>\n <td>\n \n <p>A lifecycle hook that is called when any data-bound property of a directive changes.\nDefine an <code>ngOnChanges()</code> method to handle the changes.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/OnDestroy\">OnDestroy</a></code></td>\n <td>\n \n <p>A lifecycle hook that is called when a directive, pipe, or service is destroyed.\nUse for any custom cleanup that needs to occur when the\ninstance is destroyed.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/OnInit\">OnInit</a></code></td>\n <td>\n \n <p>A lifecycle hook that is called after Angular has initialized\nall data-bound properties of a directive.\nDefine an <code>ngOnInit()</code> method to handle any additional initialization tasks.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/PipeTransform\">PipeTransform</a></code></td>\n <td>\n \n <p>An interface that is implemented by pipes in order to perform a transformation.\nAngular invokes the <code>transform</code> method with the value of a binding\nas the first argument, and any parameters as the second argument in list form.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/PlatformRef\">PlatformRef</a></code></td>\n <td>\n \n <p>The Angular platform is the entry point for Angular on a web page.\nEach page has exactly one platform. Services (such as reflection) which are common\nto every Angular application running on the page are bound in its scope.\nA page's platform is initialized implicitly when a platform is created using a platform\nfactory such as <code>PlatformBrowser</code>, or explicitly by calling the <code><a href=\"api/core/createPlatform\" class=\"code-anchor\">createPlatform</a>()</code> function.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Predicate\">Predicate</a></code></td>\n <td>\n \n <p>A boolean-valued function over a value, possibly including context information\nregarding that value's position in an array.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/RendererStyleFlags2\">RendererStyleFlags2</a></code></td>\n <td>\n \n <p>Flags for renderer-specific style modifiers.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/RendererType2\">RendererType2</a></code></td>\n <td>\n \n <p>Used by <code><a href=\"api/core/RendererFactory2\" class=\"code-anchor\">RendererFactory2</a></code> to associate custom rendering data and styles\nwith a rendering implementation.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ResolvedReflectiveProvider\">ResolvedReflectiveProvider</a></code></td>\n <td>\n \n <p>An internal resolved representation of a <code><a href=\"api/core/Provider\" class=\"code-anchor\">Provider</a></code> used by the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/SchemaMetadata\">SchemaMetadata</a></code></td>\n <td>\n \n <p>A schema definition associated with an NgModule.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/SecurityContext\">SecurityContext</a></code></td>\n <td>\n \n <p>A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property\nlike <code>innerHTML</code> that could cause Cross Site Scripting (XSS) security bugs when improperly\nhandled.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/SimpleChanges\">SimpleChanges</a></code></td>\n <td>\n \n <p>A hashtable of changes represented by <a href=\"api/core/SimpleChange\"><code>SimpleChange</code></a> objects stored\nat the declared property name they belong to on a Directive or Component. This is\nthe type passed to the <code>ngOnChanges</code> hook.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/StaticClassProvider\">StaticClassProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return an instance of <code>useClass</code> for a token.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/StaticClassSansProvider\">StaticClassSansProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return an instance of <code>useClass</code> for a token.\nBase for <code><a href=\"api/core/StaticClassProvider\" class=\"code-anchor\">StaticClassProvider</a></code> decorator.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/TrackByFunction\">TrackByFunction</a></code></td>\n <td>\n \n <p>An optional function passed into the <code><a href=\"api/common/NgForOf\" class=\"code-anchor\">NgForOf</a></code> directive that defines how to track\nchanges for items in an iterable.\nThe function takes the iteration index and item ID.\nWhen supplied, Angular tracks changes by the return value of the function.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/TypeDecorator\">TypeDecorator</a></code></td>\n <td>\n \n <p>An interface implemented by all Angular type decorators, which allows them to be used as\ndecorators as well as Angular syntax.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/TypeProvider\">TypeProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return an instance of <code><a href=\"api/core/Type\" class=\"code-anchor\">Type</a></code> when `Type' is used as the token.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ValueProvider\">ValueProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return a value for a token.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ValueSansProvider\">ValueSansProvider</a></code></td>\n <td>\n \n <p>Configures the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> to return a value for a token.\nBase for <code><a href=\"api/core/ValueProvider\" class=\"code-anchor\">ValueProvider</a></code> decorator.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/ViewEncapsulation\">ViewEncapsulation</a></code></td>\n <td>\n \n <p>Defines template and style encapsulation options available for Component's <a href=\"api/core/Component\"><code>Component</code></a>.</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=\"types\">Types<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core#types\"><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/core/ANALYZE_FOR_ENTRY_COMPONENTS\" class=\"deprecated-api-item\">ANALYZE_FOR_ENTRY_COMPONENTS</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> Since 9.0.0. With Ivy, this property is no longer necessary.</p>\n\n <p>A DI token that you can use to create a virtual <a href=\"guide/glossary#provider\">provider</a>\nthat will populate the <code>entryComponents</code> field of components and NgModules\nbased on its <code>useValue</code> property value.\nAll components that are referenced in the <code>useValue</code> value (either directly\nor in a nested array or map) are added to the <code>entryComponents</code> property.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/APP_BOOTSTRAP_LISTENER\">APP_BOOTSTRAP_LISTENER</a></code></td>\n <td>\n \n <p>A <a href=\"guide/glossary#di-token\" title=\"DI token definition\">DI token</a> that provides a set of callbacks to\nbe called for every component that is bootstrapped.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/APP_ID\">APP_ID</a></code></td>\n <td>\n \n <p>A <a href=\"guide/glossary#di-token\" title=\"DI token definition\">DI token</a> representing a unique string ID, used\nprimarily for prefixing application attributes and CSS styles when\n<a href=\"api/core/ViewEncapsulation#Emulated\">ViewEncapsulation.Emulated</a> is being used.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/APP_INITIALIZER\">APP_INITIALIZER</a></code></td>\n <td>\n \n <p>A <a href=\"guide/glossary#di-token\" title=\"DI token definition\">DI token</a> that you can use to provide\none or more initialization functions.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/COMPILER_OPTIONS\">COMPILER_OPTIONS</a></code></td>\n <td>\n \n <p>Token to provide CompilerOptions in the platform injector.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/CUSTOM_ELEMENTS_SCHEMA\">CUSTOM_ELEMENTS_SCHEMA</a></code></td>\n <td>\n \n <p>Defines a schema that allows an NgModule to contain the following:</p>\n<ul>\n<li>Non-Angular elements named with dash case (<code>-</code>).</li>\n<li>Element properties named with dash case (<code>-</code>).\nDash case is the naming convention for custom elements.</li>\n</ul>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/CompilerOptions\">CompilerOptions</a></code></td>\n <td>\n \n <p>Options for creating a compiler</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/DEFAULT_CURRENCY_CODE\">DEFAULT_CURRENCY_CODE</a></code></td>\n <td>\n \n <p>Provide this token to set the default currency code your application uses for\nCurrencyPipe when there is no currency code passed into it. This is only used by\nCurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/INJECTOR\">INJECTOR</a></code></td>\n <td>\n \n <p>An InjectionToken that gets the current <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> for <code>createInjector()</code>-style injectors.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/InjectableProvider\">InjectableProvider</a></code></td>\n <td>\n \n <p>Injectable providers used in <code>@<a href=\"api/core/Injectable\" class=\"code-anchor\">Injectable</a></code> decorator.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/LOCALE_ID\">LOCALE_ID</a></code></td>\n <td>\n \n <p>Provide this token to set the locale of your application.\nIt is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,\nDecimalPipe and PercentPipe) and by ICU expressions.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/NO_ERRORS_SCHEMA\">NO_ERRORS_SCHEMA</a></code></td>\n <td>\n \n <p>Defines a schema that allows any property on any element.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/NgIterable\">NgIterable</a></code></td>\n <td>\n \n <p>A type describing supported iterable types.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/PACKAGE_ROOT_URL\">PACKAGE_ROOT_URL</a></code></td>\n <td>\n \n <p>A <a href=\"guide/glossary#di-token\" title=\"DI token definition\">DI token</a> that indicates the root directory of\nthe application</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/PLATFORM_ID\">PLATFORM_ID</a></code></td>\n <td>\n \n <p>A token that indicates an opaque platform ID.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/PLATFORM_INITIALIZER\">PLATFORM_INITIALIZER</a></code></td>\n <td>\n \n <p>A function that is executed when a platform is initialized.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/Provider\">Provider</a></code></td>\n <td>\n \n <p>Describes how the <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> should be configured.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/StaticProvider\">StaticProvider</a></code></td>\n <td>\n \n <p>Describes how an <code><a href=\"api/core/Injector\" class=\"code-anchor\">Injector</a></code> should be configured as static (that is, without reflection).\nA static provider provides tokens to an injector for various types of dependencies.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/TRANSLATIONS\">TRANSLATIONS</a></code></td>\n <td>\n \n <p>Use this token at bootstrap to provide the content of your translation file (<code>xtb</code>,\n<code>xlf</code> or <code>xlf2</code>) when you want to translate your application in another language.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/TRANSLATIONS_FORMAT\">TRANSLATIONS_FORMAT</a></code></td>\n <td>\n \n <p>Provide this token at bootstrap to set the format of your <a href=\"api/core/TRANSLATIONS\"><code>TRANSLATIONS</code></a>: <code>xtb</code>,\n<code>xlf</code> or <code>xlf2</code>.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor deprecated-api-item\"><a href=\"api/core/defineInjectable\" class=\"deprecated-api-item\">defineInjectable</a></code></td>\n <td>\n <p><strong>Deprecated:</strong> in v8, delete after v10. This API should be used only by generated code, and that\ncode should now use ɵɵdefineInjectable instead.</p>\n\n \n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/getDebugNode\">getDebugNode</a></code></td>\n <td>\n \n \n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/getModuleFactory\">getModuleFactory</a></code></td>\n <td>\n \n <p>Returns the NgModuleFactory with the given id, if it exists and has been loaded.\nFactories for modules that do not specify an <code>id</code> cannot be retrieved. Throws if the module\ncannot be found.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/inject\">inject</a></code></td>\n <td>\n \n <p>Injects a token from the currently active injector.</p>\n\n </td>\n </tr>\n \n <tr>\n <td><code class=\"code-anchor\"><a href=\"api/core/platformCore\">platformCore</a></code></td>\n <td>\n \n <p>This platform has to be included in any other platform</p>\n\n </td>\n </tr>\n \n </tbody></table>\n </section>\n \n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/core/ANALYZE_FOR_ENTRY_COMPONENTS\n - api/core/APP_BOOTSTRAP_LISTENER\n - api/core/APP_ID\n - api/core/APP_INITIALIZER\n - api/core/AbstractType\n - api/core/AfterContentChecked\n - api/core/AfterContentInit\n - api/core/AfterViewChecked\n - api/core/AfterViewInit\n - api/core/ApplicationInitStatus\n - api/core/ApplicationModule\n - api/core/ApplicationRef\n - api/core/Attribute\n - api/core/AttributeDecorator\n - api/core/COMPILER_OPTIONS\n - api/core/CUSTOM_ELEMENTS_SCHEMA\n - api/core/ChangeDetectionStrategy\n - api/core/ChangeDetectorRef\n - api/core/ClassProvider\n - api/core/ClassSansProvider\n - api/core/Compiler\n - api/core/CompilerFactory\n - api/core/CompilerOptions\n - api/core/Component\n - api/core/ComponentFactory\n - api/core/ComponentFactoryResolver\n - api/core/ComponentRef\n - api/core/ConstructorProvider\n - api/core/ConstructorSansProvider\n - api/core/ContentChild\n - api/core/ContentChildren\n - api/core/DEFAULT_CURRENCY_CODE\n - api/core/DebugElement\n - api/core/DebugEventListener\n - api/core/DebugNode\n - api/core/DefaultIterableDiffer\n - api/core/Directive\n - api/core/DoBootstrap\n - api/core/DoCheck\n - api/core/ElementRef\n - api/core/EmbeddedViewRef\n - api/core/ErrorHandler\n - api/core/EventEmitter\n - api/core/ExistingProvider\n - api/core/ExistingSansProvider\n - api/core/FactoryProvider\n - api/core/FactorySansProvider\n - api/core/ForwardRefFn\n - api/core/GetTestability\n - api/core/Host\n - api/core/HostBinding\n - api/core/HostListener\n - api/core/INJECTOR\n - api/core/Inject\n - api/core/InjectFlags\n - api/core/Injectable\n - api/core/InjectableProvider\n - api/core/InjectableType\n - api/core/InjectionToken\n - api/core/Injector\n - api/core/InjectorType\n - api/core/Input\n - api/core/IterableChangeRecord\n - api/core/IterableChanges\n - api/core/IterableDiffer\n - api/core/IterableDifferFactory\n - api/core/IterableDiffers\n - api/core/KeyValueChangeRecord\n - api/core/KeyValueChanges\n - api/core/KeyValueDiffer\n - api/core/KeyValueDifferFactory\n - api/core/KeyValueDiffers\n - api/core/LOCALE_ID\n - api/core/MissingTranslationStrategy\n - api/core/ModuleWithComponentFactories\n - api/core/ModuleWithProviders\n - api/core/NO_ERRORS_SCHEMA\n - api/core/NgIterable\n - api/core/NgModule\n - api/core/NgModuleFactory\n - api/core/NgModuleFactoryLoader\n - api/core/NgModuleRef\n - api/core/NgProbeToken\n - api/core/NgZone\n - api/core/OnChanges\n - api/core/OnDestroy\n - api/core/OnInit\n - api/core/Optional\n - api/core/Output\n - api/core/PACKAGE_ROOT_URL\n - api/core/PLATFORM_ID\n - api/core/PLATFORM_INITIALIZER\n - api/core/Pipe\n - api/core/PipeTransform\n - api/core/PlatformRef\n - api/core/Predicate\n - api/core/Provider\n - api/core/Query\n - api/core/QueryList\n - api/core/ReflectiveInjector\n - api/core/ReflectiveKey\n - api/core/Renderer2\n - api/core/RendererFactory2\n - api/core/RendererStyleFlags2\n - api/core/RendererType2\n - api/core/ResolvedReflectiveFactory\n - api/core/ResolvedReflectiveProvider\n - api/core/Sanitizer\n - api/core/SchemaMetadata\n - api/core/SecurityContext\n - api/core/Self\n - api/core/SimpleChange\n - api/core/SimpleChanges\n - api/core/SkipSelf\n - api/core/StaticClassProvider\n - api/core/StaticClassSansProvider\n - api/core/StaticProvider\n - api/core/SystemJsNgModuleLoader\n - api/core/SystemJsNgModuleLoaderConfig\n - api/core/TRANSLATIONS\n - api/core/TRANSLATIONS_FORMAT\n - api/core/TemplateRef\n - api/core/Testability\n - api/core/TestabilityRegistry\n - api/core/TrackByFunction\n - api/core/Type\n - api/core/TypeDecorator\n - api/core/TypeProvider\n - api/core/ValueProvider\n - api/core/ValueSansProvider\n - api/core/Version\n - api/core/ViewChild\n - api/core/ViewChildren\n - api/core/ViewContainerRef\n - api/core/ViewEncapsulation\n - api/core/ViewRef\n - api/core/WrappedValue\n - api/core/asNativeElements\n - api/core/assertPlatform\n - api/core/createPlatform\n - api/core/createPlatformFactory\n - api/core/defineInjectable\n - api/core/destroyPlatform\n - api/core/enableProdMode\n - api/core/forwardRef\n - api/core/getDebugNode\n - api/core/getModuleFactory\n - api/core/getPlatform\n - api/core/global\n - api/core/global/Listener\n - api/core/global/ngApplyChanges\n - api/core/global/ngGetComponent\n - api/core/global/ngGetContext\n - api/core/global/ngGetDirectives\n - api/core/global/ngGetHostElement\n - api/core/global/ngGetInjector\n - api/core/global/ngGetListeners\n - api/core/global/ngGetOwningComponent\n - api/core/global/ngGetRootComponents\n - api/core/inject\n - api/core/isDevMode\n - api/core/platformCore\n - api/core/resolveForwardRef\n - api/core/setTestabilityGetter\n - api/core/testing\n - api/core/testing/ComponentFixture\n - api/core/testing/ComponentFixtureAutoDetect\n - api/core/testing/ComponentFixtureNoNgZone\n - api/core/testing/InjectSetupWrapper\n - api/core/testing/MetadataOverride\n - api/core/testing/TestBed\n - api/core/testing/TestBedStatic\n - api/core/testing/TestComponentRenderer\n - api/core/testing/TestModuleMetadata\n - api/core/testing/async\n - api/core/testing/discardPeriodicTasks\n - api/core/testing/fakeAsync\n - api/core/testing/flush\n - api/core/testing/flushMicrotasks\n - api/core/testing/getTestBed\n - api/core/testing/inject\n - api/core/testing/resetFakeAsyncZone\n - api/core/testing/tick\n - api/core/testing/waitForAsync\n - api/core/testing/withModule\n - guide/aot-compiler\n - guide/npm-packages\n-->\n<!-- links from this doc:\n - /api\n - api/common/NgForOf\n - api/core#angularcore\n - api/core#classes\n - api/core#decorators\n - api/core#entry-points\n - api/core#functions\n - api/core#ngmodules\n - api/core#primary\n - api/core#primary-entry-point-exports\n - api/core#secondary\n - api/core#structures\n - api/core#types\n - api/core/ANALYZE_FOR_ENTRY_COMPONENTS\n - api/core/APP_BOOTSTRAP_LISTENER\n - api/core/APP_ID\n - api/core/APP_INITIALIZER\n - api/core/AbstractType\n - api/core/AfterContentChecked\n - api/core/AfterContentInit\n - api/core/AfterViewChecked\n - api/core/AfterViewInit\n - api/core/ApplicationInitStatus\n - api/core/ApplicationModule\n - api/core/ApplicationRef\n - api/core/Attribute\n - api/core/AttributeDecorator\n - api/core/COMPILER_OPTIONS\n - api/core/CUSTOM_ELEMENTS_SCHEMA\n - api/core/ChangeDetectionStrategy\n - api/core/ChangeDetectorRef\n - api/core/ClassProvider\n - api/core/ClassSansProvider\n - api/core/Compiler\n - api/core/CompilerFactory\n - api/core/CompilerOptions\n - api/core/Component\n - api/core/ComponentFactory\n - api/core/ComponentFactoryResolver\n - api/core/ComponentRef\n - api/core/ConstructorProvider\n - api/core/ConstructorSansProvider\n - api/core/ContentChild\n - api/core/ContentChildren\n - api/core/DEFAULT_CURRENCY_CODE\n - api/core/DebugElement\n - api/core/DebugEventListener\n - api/core/DebugNode\n - api/core/DefaultIterableDiffer\n - api/core/Directive\n - api/core/DoBootstrap\n - api/core/DoCheck\n - api/core/ElementRef\n - api/core/EmbeddedViewRef\n - api/core/ErrorHandler\n - api/core/EventEmitter\n - api/core/ExistingProvider\n - api/core/ExistingSansProvider\n - api/core/FactoryProvider\n - api/core/FactorySansProvider\n - api/core/ForwardRefFn\n - api/core/GetTestability\n - api/core/Host\n - api/core/HostBinding\n - api/core/HostListener\n - api/core/INJECTOR\n - api/core/Inject\n - api/core/InjectFlags\n - api/core/Injectable\n - api/core/InjectableProvider\n - api/core/InjectableType\n - api/core/InjectionToken\n - api/core/Injector\n - api/core/InjectorType\n - api/core/Input\n - api/core/IterableChangeRecord\n - api/core/IterableChanges\n - api/core/IterableDiffer\n - api/core/IterableDifferFactory\n - api/core/IterableDiffers\n - api/core/KeyValueChangeRecord\n - api/core/KeyValueChanges\n - api/core/KeyValueDiffer\n - api/core/KeyValueDifferFactory\n - api/core/KeyValueDiffers\n - api/core/LOCALE_ID\n - api/core/MissingTranslationStrategy\n - api/core/ModuleWithComponentFactories\n - api/core/ModuleWithProviders\n - api/core/NO_ERRORS_SCHEMA\n - api/core/NgIterable\n - api/core/NgModule\n - api/core/NgModuleFactory\n - api/core/NgModuleFactoryLoader\n - api/core/NgModuleRef\n - api/core/NgProbeToken\n - api/core/NgZone\n - api/core/OnChanges\n - api/core/OnDestroy\n - api/core/OnInit\n - api/core/Optional\n - api/core/Output\n - api/core/PACKAGE_ROOT_URL\n - api/core/PLATFORM_ID\n - api/core/PLATFORM_INITIALIZER\n - api/core/Pipe\n - api/core/PipeTransform\n - api/core/PlatformRef\n - api/core/Predicate\n - api/core/Provider\n - api/core/Query\n - api/core/QueryList\n - api/core/ReflectiveInjector\n - api/core/ReflectiveKey\n - api/core/Renderer2\n - api/core/RendererFactory2\n - api/core/RendererStyleFlags2\n - api/core/RendererType2\n - api/core/ResolvedReflectiveFactory\n - api/core/ResolvedReflectiveProvider\n - api/core/Sanitizer\n - api/core/SchemaMetadata\n - api/core/SecurityContext\n - api/core/Self\n - api/core/SimpleChange\n - api/core/SimpleChanges\n - api/core/SkipSelf\n - api/core/StaticClassProvider\n - api/core/StaticClassSansProvider\n - api/core/StaticProvider\n - api/core/SystemJsNgModuleLoader\n - api/core/SystemJsNgModuleLoaderConfig\n - api/core/TRANSLATIONS\n - api/core/TRANSLATIONS_FORMAT\n - api/core/TemplateRef\n - api/core/Testability\n - api/core/TestabilityRegistry\n - api/core/TrackByFunction\n - api/core/Type\n - api/core/TypeDecorator\n - api/core/TypeProvider\n - api/core/ValueProvider\n - api/core/ValueSansProvider\n - api/core/Version\n - api/core/ViewChild\n - api/core/ViewChildren\n - api/core/ViewContainerRef\n - api/core/ViewEncapsulation\n - api/core/ViewEncapsulation#Emulated\n - api/core/ViewRef\n - api/core/WrappedValue\n - api/core/asNativeElements\n - api/core/assertPlatform\n - api/core/createPlatform\n - api/core/createPlatformFactory\n - api/core/defineInjectable\n - api/core/destroyPlatform\n - api/core/enableProdMode\n - api/core/forwardRef\n - api/core/getDebugNode\n - api/core/getModuleFactory\n - api/core/getPlatform\n - api/core/global\n - api/core/inject\n - api/core/isDevMode\n - api/core/platformCore\n - api/core/resolveForwardRef\n - api/core/setTestabilityGetter\n - api/core/testing\n - api/router/LoadChildren\n - guide/glossary#di-token\n - guide/glossary#provider\n - guide/glossary#view\n - guide/glossary#view-tree\n - https://github.com/angular/angular/edit/master/packages/core/PACKAGE.md?message=docs(...)%3A%20describe%20your%20change...\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/core/PACKAGE.md\n-->"
|
|
} |