UNPKG

@metadev/lux

Version:

Lux: Library with User Interface components for Angular.

32 lines (31 loc) 1.29 kB
import { ApplicationRef, ComponentFactoryResolver, Injector, RendererFactory2 } from '@angular/core'; import { LuxModalConfig, LuxModalOptions } from './modal-config'; import { ModalRef } from './modal-ref'; import * as i0 from "@angular/core"; export declare class ModalStack { private _applicationRef; private _document; private _injector; private _rendererFactory; private modalConfig; private _activeWindowCmptHasChanged; private _modalRefs; private _windowCmpts; private _ariaHiddenValues; private _backdropAttributes; private _windowAttributes; constructor(_applicationRef: ApplicationRef, _document: any, _injector: Injector, _rendererFactory: RendererFactory2, modalConfig: LuxModalConfig); open(moduleCFR: ComponentFactoryResolver, content: any, options: LuxModalOptions): ModalRef; private _applyWindowOptions; private _applyBackgroundOptions; private _revertAriaHidden; private getContentRef; private createFromTemplateRef; private _attachBackdrop; private _attachWindowComponent; private _registerModalRef; private _registerWindowCmpt; private _setAriaHidden; static ɵfac: i0.ɵɵFactoryDeclaration<ModalStack, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ModalStack>; }