ApplicationRef

ApplicationRef

Stable Class

Class Overview

class ApplicationRef {
  bootstrap(componentFactory: ComponentFactory<C>|Type<C>) : ComponentRef<C>
  tick() : void
  componentTypes : Type<any>[]
  components : ComponentRef<any>[]
  attachView(view: ViewRef) : void
  detachView(view: ViewRef) : void
  viewCount : number
}

Class Description

A reference to an Angular application running on a page.

For more about Angular applications, see the documentation for bootstrap.