API reference for SfDynamicComponentLoaderComponent

import {SfDynamicComponentLoaderModule} from "@progress/sitefinity-component-framework";


selector: sf-component-loader Description: Instantiates components or embedded views dynamically

Implements

  • OnChanges
  • OnInit
  • OnDestroy

Constructors

Properties

componentData: ComponentData

Used by SfDynamicComponentLoader to get necessary data for dynamic component instantiation.

componentInit: EventEmitter<any>

Emitted when the dynamic component is instantiated

templateData: TemplateData

Used by SfDynamicComponentLoader to get necessary data for the template instantiation.

viewContainer: ViewContainerRef

The container in which the component will be instantiated

Accessors

  • get currentInstance(): any
  • Gets the component instance

    Returns any

  • get instance$(): Observable<any>
  • Gets the component instance as an observable

    Returns Observable<any>

Methods

  • Parameters

    Returns void

  • Parameters

    • changes: SimpleChanges

    Returns void

  • Returns void

  • Returns void

Generated using TypeDoc