@cisstech/nge
Version:
NG Essentials is a collection of libraries for Angular developers.
22 lines (21 loc) • 1.36 kB
TypeScript
import { OnChanges, Type, ViewContainerRef } from '@angular/core';
import { CompilerService } from '@cisstech/nge/services';
import * as i0 from "@angular/core";
export declare class DynamicComponentDirective implements OnChanges {
private readonly compilerService;
private readonly viewContainerRef;
type: () => Type<any> | Promise<Type<any>>;
inputs: any;
constructor(compilerService: CompilerService, viewContainerRef: ViewContainerRef);
ngOnChanges(): Promise<void>;
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicComponentDirective, "[dynamic-component]", never, { "type": { "alias": "dynamic-component"; "required": false; }; "inputs": { "alias": "dynamic-componentInputs"; "required": false; }; }, {}, never, never, true, never>;
}
/**
* @deprecated in favor of standalone api, so please use direclty the directive as a standalone. Will be removed in/after v18
*/
export declare class DynamicComponentDirectiveModule {
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentDirectiveModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicComponentDirectiveModule, never, [typeof DynamicComponentDirective], [typeof DynamicComponentDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<DynamicComponentDirectiveModule>;
}