@orchestrator/core
Version:
> Core package of Orchestrator library.
20 lines (19 loc) • 936 B
TypeScript
import { ComponentRef, OnDestroy } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ComponentsRegistryService implements OnDestroy {
private parentComponentsRegistryService;
private _componentsReady$;
componentsReady$: import("rxjs").Observable<ComponentRef<any>[]>;
private count;
private childComponents;
private subChildComponents;
constructor(parentComponentsRegistryService: ComponentsRegistryService);
ngOnDestroy(): void;
waitFor(count: number): void;
add(compRef: ComponentRef<any>): void;
addChildren(compRefs: ComponentRef<any>[]): void;
addChild(compRef: ComponentRef<any> | null | undefined): void;
addSubChildren(compRefs: ComponentRef<any>[]): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentsRegistryService, [{ optional: true; skipSelf: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<ComponentsRegistryService>;
}