AnimationEntryMetadata

Experimental Class Class Overview class AnimationEntryMetadata { constructor(name: string, definitions: AnimationStateMetadata[]) name : string definitions : AnimationStateMetadata[] } Class Description Metadata representing the entry of animations. Instances of this class are provided via the animation DSL when the trigger animation function is called. Constructor constructor(name: string, definitions: AnimationStateMetadata[]) Class Details name : string definitions : An

Resolve

Stable Interface What it does Indicates that class can implement to be a data provider. How to use class Backend { fetchTeam(id: string) { return 'someTeam'; } } @Injectable() class TeamResolver implements Resolve<Team> { constructor(private backend: Backend) {} resolve( route: ActivatedRouteSnapshot, state: RouterStateSnapshot ): Observable<any>|Promise<any>|any { return this.backend.fetchTeam(route.params.id); } } @NgModule({ imports: [

FormArray

Stable Class What it does Tracks the value and validity state of an array of FormControl instances. A FormArray aggregates the values of each child FormControl into an array. It calculates its status by reducing the statuses of its children. For example, if one of the controls in a FormArray is invalid, the entire array becomes invalid. FormArray is one of the three fundamental building blocks used to define forms in Angular, along with FormControl and FormGroup. How to use When instantiat

RESOURCE_CACHE_PROVIDER

Experimental Const Variable Export export RESOURCE_CACHE_PROVIDER exported from @angular/platform-browser-dynamic/index defined in @angular/platform-browser-dynamic/src/platform-browser-dynamic.ts

AnimationTransitionEvent

Experimental Class Class Overview class AnimationTransitionEvent { constructor({fromState, toState, totalTime}: {fromState: string, toState: string, totalTime: number}) fromState : string toState : string totalTime : number } Class Description Constructor constructor({fromState, toState, totalTime}: {fromState: string, toState: string, totalTime: number}) Class Details fromState : string toState : string totalTime : number exported from @ang

EventEmitter

Stable Class Class Overview class EventEmitter { constructor(isAsync?: boolean) emit(value?: T) subscribe(generatorOrNext?: any, error?: any, complete?: any) : any } Class Description Use by directives and components to emit custom Events. Examples In the following example, Zippy alternatively emits open and close events when its title gets clicked: @Component({ selector: 'zippy', template: ` <div class="zippy"> <div (click)="toggle()">Toggle</div>

LOCALE_ID

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

ApplicationInitStatus

Experimental Class Class Overview class ApplicationInitStatus { constructor(appInits: (() => any)[]) done : boolean donePromise : Promise<any> } Class Description A class that reflects the state of running APP_INITIALIZERs. Annotations @Injectable() Constructor constructor(appInits: (() => any)[]) Class Details done : boolean donePromise : Promise<any> exported from @angular/core/index, defined in @angular/core/src/application_init.ts

IterableDifferFactory

Stable Interface Interface Overview interface IterableDifferFactory { supports(objects: any) : boolean create(cdRef: ChangeDetectorRef, trackByFn?: TrackByFn) : IterableDiffer } Interface Description Provides a factory for IterableDiffer. Interface Details supports(objects: any) : boolean create(cdRef: ChangeDetectorRef, trackByFn?: TrackByFn) : IterableDiffer exported from @angular/core/index, defined in @angular/core/src/change_detection/differs/iterable_differs.ts

IterableDiffer

Stable Interface Interface Overview interface IterableDiffer { diff(object: any) : any onDestroy() : any } Interface Description A strategy for tracking changes over time to an iterable. Used for NgFor to respond to changes in an iterable by effecting equivalent changes in the DOM. Interface Details diff(object: any) : any onDestroy() : any exported from @angular/core/index, defined in @angular/core/src/change_detection/differs/iterable_differs.ts