UNPKG

ng-dynamic-component

Version:

> Dynamic components with full life-cycle support for inputs and outputs

12 lines 677 B
import { Observable } from 'rxjs'; import { ComponentInputKey, ComponentIO } from './component-io'; import { ComponentRef } from '@angular/core'; import * as i0 from "@angular/core"; /** @internal */ export declare class ClassicComponentIO implements ComponentIO { setInput<T, K extends ComponentInputKey<T>>(componentRef: ComponentRef<T>, name: K, value: T[K]): void; getOutput<T, K extends ComponentInputKey<T>>(componentRef: ComponentRef<T>, name: K): Observable<unknown>; static ɵfac: i0.ɵɵFactoryDeclaration<ClassicComponentIO, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ClassicComponentIO>; } //# sourceMappingURL=classic-component-io.d.ts.map