import { TemplateRef, ViewContainerRef } from '@angular/core'; import { Portal } from '@angular/cdk/portal'; export interface WdkPortalComponentData { /** * id name where the content will to be projected. */ outletId?: string; /** * template which contains the content to be projected. */ template?: TemplateRef; /** * Represents a container where one or more views can be attached to a component. */ viewContainerRef?: ViewContainerRef; /** * A Portal is a piece of UI that can be dynamically rendered to an open slot on the page. * The "piece of UI" can be either a Component, a TemplateRef or a DOM element */ portal?: Portal; }