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

WorkerAppModule

Experimental Class Class Overview class WorkerAppModule { } Class Description The ng module for the worker app side. Annotations @NgModule({ providers: [ BROWSER_SANITIZATION_PROVIDERS, Serializer, {provide: ClientMessageBrokerFactory, useClass: ClientMessageBrokerFactory_}, {provide: ServiceMessageBrokerFactory, useClass: ServiceMessageBrokerFactory_}, WebWorkerRootRenderer, {provide: RootRenderer, useExisting: WebWorkerRootRenderer}, {provide: ON_WEB_WORKER, useVa

NgModule

Stable Interface Interface Overview interface NgModule { providers : Provider[] declarations : Array<Type<any>|any[]> imports : Array<Type<any>|ModuleWithProviders|any[]> exports : Array<Type<any>|any[]> entryComponents : Array<Type<any>|any[]> bootstrap : Array<Type<any>|any[]> schemas : Array<SchemaMetadata|any[]> id : string } Interface Description NgModule decorator and metadata Interface Details provid

AnimationStateTransitionMetadata

Experimental Class Class Overview class AnimationStateTransitionMetadata { constructor(stateChangeExpr: string, steps: AnimationMetadata) stateChangeExpr : string steps : AnimationMetadata } Class Description Metadata representing the entry of animations. Instances of this class are provided via the animation DSL when the transition animation function is called. Constructor constructor(stateChangeExpr: string, steps: AnimationMetadata) Class Details stateChangeExpr : string

isDevMode()

Experimental Function Class Export export isDevMode() : boolean Returns whether Angular is in development mode. After called once, the value is locked and won't change any more. By default, this is true, unless a user calls enableProdMode before calling this. exported from @angular/core/index defined in @angular/core/src/application_ref.ts

KeyValueDiffers

Stable Class Class Overview class KeyValueDiffers { staticcreate(factories: KeyValueDifferFactory[], parent?: KeyValueDiffers) : KeyValueDiffers staticextend(factories: KeyValueDifferFactory[]) : Provider constructor(factories: KeyValueDifferFactory[]) factories : KeyValueDifferFactory[] find(kv: Object) : KeyValueDifferFactory } Class Description A repository of different Map diffing strategies used by NgClass, NgStyle, and others. Constructor constructor(factories: KeyV

OnInit

Stable Class What it does Lifecycle hook that is called after data-bound properties of a directive are initialized. How to use . @Component({selector: 'my-cmp', template: `...`}) class MyComponent implements OnInit { ngOnInit() { // ... } } Class Overview class OnInit { ngOnInit() : void } Class Description ngOnInit is called right after the directive's data-bound properties have been checked for the first time, and before any of its children have been checked. It is invoked

PathLocationStrategy

Stable Class Class Overview class PathLocationStrategy { constructor(_platformLocation: PlatformLocation, href?: string) onPopState(fn: LocationChangeListener) : void getBaseHref() : string prepareExternalUrl(internal: string) : string path(includeHash?: boolean) : string pushState(state: any, title: string, url: string, queryParams: string) replaceState(state: any, title: string, url: string, queryParams: string) forward() : void back() : void } Class Description P

DefaultIterableDiffer

Stable Class Class Overview class DefaultIterableDiffer { constructor(_trackByFn?: TrackByFn) collection length : number forEachItem(fn: Function) forEachOperation(fn: (item: CollectionChangeRecord, previousIndex: number, currentIndex: number) => void) forEachPreviousItem(fn: Function) forEachAddedItem(fn: Function) forEachMovedItem(fn: Function) forEachRemovedItem(fn: Function) forEachIdentityChange(fn: Function) diff(collection: any) : DefaultIterableDiffer

Class()

Stable Function Class Export export Class(clsDef: ClassDefinition) : Type<any> Provides a way for expressing ES6 classes with parameter annotations in ES5. Basic Example var Greeter = ng.Class({ constructor: function(name) { this.name = name; }, greet: function() { alert('Hello ' + this.name + '!'); } }); is equivalent to ES6: class Greeter { constructor(name) { this.name = name; } greet() { alert('Hello ' + this.name + '!'); } } or equivalent to ES5