@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.18 kB
TypeScript
import { ViewContainerRef } from '@angular/core';
import * as i0 from "@angular/core";
/**
* ** Dynamic Context Component that is created for every UUID in {@link DynamicComponentsService}.
*
* - It is created multiple times, once for every single UUID, and its populated field {@link DynamicContextComponent.viewContainerRef}
* is stored as ViewContainerRef in {@link DynamicComponentsService} that is returned to the invoker,
* to meet their needs for creating dynamic Components.
*/
export declare class DynamicContextComponent {
/**
* ** ViewContainerRef reference that is used as point where invokers of {@link DynamicComponentsService.getUniqueViewContainerRef}
* retrieve reference of, and could insert their Components.
*
* - Reference is totally contextual and unique for every single UUID and other invokers won't be bothered.
*/
readonly viewContainerRef: ViewContainerRef;
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicContextComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicContextComponent, "shared-dynamic-components-context", never, {}, {}, never, never>;
}