@taiga-ui/cdk
Version:
Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance
13 lines (12 loc) • 650 B
TypeScript
import { type ComponentRef, type EmbeddedViewRef, type TemplateRef } from '@angular/core';
import { type PolymorpheusComponent } from '@taiga-ui/polymorpheus';
import * as i0 from "@angular/core";
export declare abstract class TuiPortals {
private readonly injector;
private readonly anchor;
constructor();
addComponent<C>(component: PolymorpheusComponent<C>): ComponentRef<C>;
addTemplate<C>(templateRef: TemplateRef<C>, context?: C): EmbeddedViewRef<C>;
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPortals, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPortals, never, never, {}, {}, never, never, true, never>;
}