ng-dynamic-component
Version:
> Dynamic components with full life-cycle support for inputs and outputs
15 lines • 771 B
TypeScript
import { NgComponentOutlet } from '@angular/common';
import { ComponentRef } from '@angular/core';
import { DynamicComponentInjector } from '../component-injector';
import * as i0 from "@angular/core";
/**
* @public
*/
export declare class ComponentOutletInjectorDirective implements DynamicComponentInjector {
private componentOutlet;
get componentRef(): ComponentRef<unknown>;
constructor(componentOutlet: NgComponentOutlet);
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentOutletInjectorDirective, [{ host: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentOutletInjectorDirective, "[ngComponentOutlet]", ["ndcComponentOutletInjector"], {}, {}, never, never, true>;
}
//# sourceMappingURL=component-outlet-injector.directive.d.ts.map