theme-lib
Version:
This is a simple example Angular Library published to npm.
32 lines (31 loc) • 1.46 kB
TypeScript
import { ElementRef, OnDestroy, OnInit, TemplateRef, Renderer2, AfterViewInit, ComponentFactoryResolver } from '@angular/core';
import { NbFocusTrap, NbFocusTrapFactoryService, NbOverlayContainerComponent } from '../cdk';
import { NbComponentType } from '../cdk/overlay';
import { NbWindowConfig } from './window.options';
import { NbWindowRef } from './window-ref';
export declare class NbWindowComponent implements OnInit, AfterViewInit, OnDestroy {
content: TemplateRef<any> | NbComponentType;
context: Object;
windowRef: NbWindowRef;
config: NbWindowConfig;
protected focusTrapFactory: NbFocusTrapFactoryService;
protected elementRef: ElementRef;
protected renderer: Renderer2;
cfr: ComponentFactoryResolver;
readonly isFullScreen: boolean;
readonly maximized: boolean;
readonly minimized: boolean;
overlayContainer: NbOverlayContainerComponent;
protected focusTrap: NbFocusTrap;
constructor(content: TemplateRef<any> | NbComponentType, context: Object, windowRef: NbWindowRef, config: NbWindowConfig, focusTrapFactory: NbFocusTrapFactoryService, elementRef: ElementRef, renderer: Renderer2);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
minimize(): void;
maximize(): void;
fullScreen(): void;
maximizeOrFullScreen(): void;
close(): void;
protected attachTemplate(): void;
protected attachComponent(): void;
}