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

UpgradeAdapter

Stable Class Class Overview class UpgradeAdapter { constructor(ng2AppModule: Type<any>) downgradeNg2Component(type: Type<any>) : Function upgradeNg1Component(name: string) : Type<any> bootstrap(element: Element, modules?: any[], config?:IAngularBootstrapConfig) : UpgradeAdapterRef upgradeNg1Provider(name: string, options?: {asToken: any}) downgradeNg2Provider(token: any) : Function } Class Description Use UpgradeAdapter to allow AngularJS v1 and Angular

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

TRANSLATIONS

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

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 {

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

TRANSLATIONS_FORMAT

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

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

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