40 lines
1.6 KiB
TypeScript
40 lines
1.6 KiB
TypeScript
import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
import { Observable, Subject } from 'rxjs';
|
|
import * as i0 from "@angular/core";
|
|
export declare class NgbModalWindow implements OnInit, OnDestroy {
|
|
private _document;
|
|
private _elRef;
|
|
private _zone;
|
|
private _closed$;
|
|
private _elWithFocus;
|
|
private _dialogEl;
|
|
animation: boolean;
|
|
ariaLabelledBy: string;
|
|
ariaDescribedBy: string;
|
|
backdrop: boolean | string;
|
|
centered: string;
|
|
fullscreen: string | boolean;
|
|
keyboard: boolean;
|
|
scrollable: string;
|
|
size: string;
|
|
windowClass: string;
|
|
modalDialogClass: string;
|
|
dismissEvent: EventEmitter<any>;
|
|
shown: Subject<void>;
|
|
hidden: Subject<void>;
|
|
constructor(_document: any, _elRef: ElementRef<HTMLElement>, _zone: NgZone);
|
|
get fullscreenClass(): string;
|
|
dismiss(reason: any): void;
|
|
ngOnInit(): void;
|
|
ngOnDestroy(): void;
|
|
hide(): Observable<any>;
|
|
private _show;
|
|
private _enableEventHandling;
|
|
private _disableEventHandling;
|
|
private _setFocus;
|
|
private _restoreFocus;
|
|
private _bumpBackdrop;
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgbModalWindow, never>;
|
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgbModalWindow, "ngb-modal-window", never, { "animation": "animation"; "ariaLabelledBy": "ariaLabelledBy"; "ariaDescribedBy": "ariaDescribedBy"; "backdrop": "backdrop"; "centered": "centered"; "fullscreen": "fullscreen"; "keyboard": "keyboard"; "scrollable": "scrollable"; "size": "size"; "windowClass": "windowClass"; "modalDialogClass": "modalDialogClass"; }, { "dismissEvent": "dismiss"; }, never, ["*"], true, never>;
|
|
}
|