UNPKG

theme-lib

Version:

This is a simple example Angular Library published to npm.

16 lines (15 loc) 895 B
import { ComponentRef, ElementRef, EmbeddedViewRef, OnDestroy, OnInit } from '@angular/core'; import { NbComponentPortal, NbFocusTrap, NbFocusTrapFactoryService, NbPortalOutletDirective, NbTemplatePortal } from '../cdk'; import { NbDialogConfig } from './dialog-config'; export declare class NbDialogContainerComponent implements OnInit, OnDestroy { protected config: NbDialogConfig; protected elementRef: ElementRef; protected focusTrapFactory: NbFocusTrapFactoryService; portalOutlet: NbPortalOutletDirective; protected focusTrap: NbFocusTrap; constructor(config: NbDialogConfig, elementRef: ElementRef, focusTrapFactory: NbFocusTrapFactoryService); ngOnInit(): void; ngOnDestroy(): void; attachComponentPortal<T>(portal: NbComponentPortal<T>): ComponentRef<T>; attachTemplatePortal<C>(portal: NbTemplatePortal<C>): EmbeddedViewRef<C>; }