ComponentFixtureNoNgZone

Experimental Const Variable Export export ComponentFixtureNoNgZone exported from @angular/core/testing/index defined in @angular/core/testing/test_bed.ts

NgStyle

Stable Directive What it does Update an HTML element styles. How to use <some-element [ngStyle]="{'font-style': styleExp}">...</some-element> <some-element [ngStyle]="{'max-width.px': widthExp}">...</some-element> <some-element [ngStyle]="objExp">...</some-element> Class Overview class NgStyle { constructor(_differs: KeyValueDiffers, _ngEl: ElementRef, _renderer: Renderer) ngStyle ngDoCheck() } Selectors [ngStyle] Class Description

platformCore

Experimental Const Variable Export export platformCore This platform has to be included in any other platform exported from @angular/core/index defined in @angular/core/src/platform_core_providers.ts

getPlatform()

Experimental Function Class Export export getPlatform() : PlatformRef Returns the current platform. exported from @angular/core/index defined in @angular/core/src/application_ref.ts

GetTestability

Experimental Interface Interface Overview interface GetTestability { addToWindow(registry: TestabilityRegistry) : void findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean) : Testability } Interface Description Adapter interface for retrieving the Testability service associated for a particular context. Interface Details addToWindow(registry: TestabilityRegistry) : void findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestor

AfterContentChecked

Stable Class What it does Lifecycle hook that is called after every check of a directive's content. How to use . @Component({selector: 'my-cmp', template: `...`}) class MyComponent implements AfterContentChecked { ngAfterContentChecked() { // ... } } Class Overview class AfterContentChecked { ngAfterContentChecked() : void } Class Description See Lifecycle Hooks Guide. Class Details ngAfterContentChecked() : void exported from @angular/core/index, defined in @angular/core

assertPlatform()

Experimental Function Class Export export assertPlatform(requiredToken: any) : PlatformRef Checks that there currently is a platform which contains the given token as a provider. exported from @angular/core/index defined in @angular/core/src/application_ref.ts

ForwardRefFn

Experimental Interface Interface Overview interface ForwardRefFn { } Interface Description An interface that a function passed into forwardRef has to implement. Example let ref = forwardRef(() => Lock); exported from @angular/core/index, defined in @angular/core/src/di/forward_ref.ts

ReflectiveKey

Experimental Class Class Overview class ReflectiveKey { staticget(token: Object) : ReflectiveKey staticnumberOfKeys : number constructor(token: Object, id: number) token : Object id : number displayName : string } Class Description A unique object used for retrieving items from the ReflectiveInjector. Keys have: a system-wide unique id. a token. Key is used internally by ReflectiveInjector because its system-wide unique id allows the injector to store created objects in a

SimpleChanges

Stable Interface Interface Overview interface SimpleChanges { } Interface Description A changes object whose keys are property names and values are instances of SimpleChange. See OnChanges exported from @angular/core/index, defined in @angular/core/src/metadata/lifecycle_hooks.ts