@ng-bootstrap/ng-bootstrap
Version:
Angular powered Bootstrap
36 lines (35 loc) • 1.09 kB
TypeScript
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
import { Observable, Subject } from 'rxjs';
export declare class NgbModalWindow implements OnInit, AfterViewInit, OnDestroy {
private _document;
private _elRef;
private _zone;
private _closed$;
private _elWithFocus;
private _dialogEl;
animation: boolean;
ariaLabelledBy: string;
ariaDescribedBy: string;
backdrop: boolean | string;
centered: string;
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);
dismiss(reason: any): void;
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
hide(): Observable<any>;
private _show;
private _enableEventHandling;
private _disableEventHandling;
private _setFocus;
private _restoreFocus;
private _bumpBackdrop;
}