UNPKG

@versatiledatakit/shared

Version:

Versatile Data Kit Shared library enables reusability of shared features like: NgRx Redux, Error Handlers, Utils, Generic Components, etc.

21 lines (20 loc) 1.27 kB
import { ViewContainerRef } from '@angular/core'; import * as i0 from "@angular/core"; /** * ** Dynamic Container Component is created only once upon {@link DynamicComponentsService} initialization * and is container for all contextually created ViewContainerRef instances for every single UUID. * * - It is created only once, and its populated field {@link DynamicContainerComponent.viewContainerRef} * is stored as ViewContainerRef in {@link DynamicComponentsService} for lifetime of the service as singleton. */ export declare class DynamicContainerComponent { /** * ** ViewContainerRef reference that is used as point where {@link DynamicComponentsService} insert contextual {@link DynamicContextComponent} * one for every single UUID when invokers call {@link DynamicComponentsService.getUniqueViewContainerRef}. * * - Reference is singleton, and it is retrieved only once upon {@link DynamicComponentsService} initialization. */ readonly viewContainerRef: ViewContainerRef; static ɵfac: i0.ɵɵFactoryDeclaration<DynamicContainerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DynamicContainerComponent, "shared-dynamic-components-container", never, {}, {}, never, never>; }