HostViewRef

export interface HostViewRef

exported from angular2/core defined in angular2/src/core/linker/view_ref.ts (line 15)

Represents a View containing a single Element that is the Host Element of a Component instance.

A Host View is created for every dynamically created Component that was compiled on its own (as opposed to as a part of another Component's Template) via Compiler or one of the higher-level APIs: AppViewManager, AppViewManager, ViewContainerRef.

Members