ComponentFixture

ComponentFixture

Stable Class

Class Overview

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

Class Description

Fixture for debugging and testing a component.

登录查看完整内容