upgrade

Module Entry point for all public APIs of the upgrade package. UpgradeAdapter UpgradeAdapterRef defined in @angular/upgrade/index.ts

UiArguments

Experimental Class Class Overview class UiArguments { constructor(method: string, args?: FnArg[]) method : string args : FnArg[] } Class Description Constructor constructor(method: string, args?: FnArg[]) Class Details method : string args : FnArg[] exported from @angular/platform-webworker/index, defined in @angular/platform-webworker/src/web_workers/shared/client_message_broker.ts

TypeScript to JavaScript

Convert Angular 2 TypeScript examples into ES5 JavaScript Everything that we can do in Angular 2 in TypeScript, we can also do in JavaScript. Translating from one language to the other is mostly a matter of changing the way we organize our code and the way we access Angular 2 APIs. Since TypeScript is a popular language option in Angular 2, many of the code examples you see on the Internet as well as on this site are written in TypeScript. This cookbook contains recipes for translating these ki

TypeScript Configuration

TypeScript configuration for Angular 2 developers TypeScript is a primary language for Angular application development. It is a dialect of JavaScript with design-time support for type-safety and tooling. Browsers can't execute TypeScript directly. Typescript must be "transpiled" into JavaScript using the tsc compiler, which requires some configuration. This page covers some aspects of TypeScript configuration and the TypeScript environment that are important to Angular developers, including det

TypeProvider

Stable Interface What it does Configures the Injector to return an instance of Type when `Type' is used as token. How to use @Injectable() class MyService {} const provider: TypeProvider = MyService; Interface Overview interface TypeProvider { } Interface Description Create an instance by invoking the new operator and supplying additional arguments. This form is a short form of TypeProvider; For more details, see the Dependency Injection Guide. Example @Injectable() class Greeting {

trigger()

Experimental Function Class Export export trigger(name: string, animation: AnimationMetadata[]) : AnimationEntryMetadata trigger is an animation-specific function that is designed to be used inside of Angular2's animation DSL language. If this information is new, please navigate to the component animations metadata page to gain a better understanding of how animations in Angular2 are used. trigger Creates an animation trigger which will a list of state and transition entries that will be eva

TRANSLATIONS_FORMAT

Experimental Const Variable Export export TRANSLATIONS_FORMAT exported from @angular/core/index defined in @angular/core/src/i18n/tokens.ts

TRANSLATIONS

Experimental Const Variable Export export TRANSLATIONS exported from @angular/core/index defined in @angular/core/src/i18n/tokens.ts

transition()

Experimental Function Class Export export transition(stateChangeExpr: string, steps: AnimationMetadata | AnimationMetadata[]) : AnimationStateTransitionMetadata transition is an animation-specific function that is designed to be used inside of Angular2's animation DSL language. If this information is new, please navigate to the component animations metadata page to gain a better understanding of how animations in Angular2 are used. transition declares the sequence of animation steps that wil

TrackByFn

Stable Interface Interface Overview interface TrackByFn { } Interface Description An optional function passed into NgFor that defines how to track items in an iterable (e.g. by index or id) exported from @angular/core/index, defined in @angular/core/src/change_detection/differs/iterable_differs.ts