@deepkit/desktop-ui
Version:
Library for desktop UI widgets in Angular 10+
18 lines (17 loc) • 1.05 kB
TypeScript
import { AfterViewInit, ApplicationRef, ComponentFactoryResolver, ComponentRef, OnDestroy, ViewContainerRef } from '@angular/core';
import * as i0 from "@angular/core";
export declare class RenderComponentDirective implements AfterViewInit, OnDestroy {
protected app: ApplicationRef;
protected resolver: ComponentFactoryResolver;
protected viewContainerRef: ViewContainerRef;
renderComponent: any;
renderComponentInputs: {
[name: string]: any;
};
component?: ComponentRef<any>;
constructor(app: ApplicationRef, resolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef);
ngAfterViewInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<RenderComponentDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<RenderComponentDirective, "[renderComponent]", never, { "renderComponent": { "alias": "renderComponent"; "required": false; }; "renderComponentInputs": { "alias": "renderComponentInputs"; "required": false; }; }, {}, never, never, false, never>;
}