Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new DomProvider(componentFactoryResolver: ComponentFactoryResolver, injector: Injector, appRef: ApplicationRef): DomProvider

Properties

Protected appRef

appRef: ApplicationRef

Protected componentFactoryResolver

componentFactoryResolver: ComponentFactoryResolver

Protected injector

injector: Injector

Methods

appendComponentToBody

  • appendComponentToBody<T>(component: object): ComponentRef<T>
  • Type parameters

    • T

    Parameters

    • component: object
      • constructor: function
        • new __type(...args: any[]): T

    Returns ComponentRef<T>

Protected appendToDom

  • appendToDom(domElem: HTMLElement): void

removeComponent

  • removeComponent<T>(componentRef: ComponentRef<T>): void