ComponentFixture

ClassStability: Stable

Class Overview

class ComponentFixture {
constructor(componentRef: ComponentRef<T>, ngZone: NgZone, autoDetect: boolean)
debugElement : DebugElement
componentInstance : T
nativeElement : any
elementRef : ElementRef
componentRef : ComponentRef<T>
changeDetectorRef : ChangeDetectorRef
ngZone : NgZone
detectChanges(checkNoChanges?: boolean) : void
checkNoChanges() : void
autoDetectChanges(autoDetect?: boolean)
isStable() : boolean
whenStable() : Promise<any>
destroy() : void

}

Class Description

Class Export

export class ComponentFixture

Constructor

constructor(componentRef: ComponentRef<T>, ngZone: NgZone, autoDetect: boolean)

Class Details

exported from @angular/core/testing defined in @angular/core/testing/component_fixture.ts (line 13)