32 lines
1.3 KiB
TypeScript
32 lines
1.3 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 NgbOffcanvasPanel implements OnInit, OnDestroy {
|
|
private _document;
|
|
private _elRef;
|
|
private _zone;
|
|
private _closed$;
|
|
private _elWithFocus;
|
|
animation: boolean;
|
|
ariaLabelledBy?: string;
|
|
ariaDescribedBy?: string;
|
|
keyboard: boolean;
|
|
panelClass: string;
|
|
position: 'start' | 'end' | 'top' | 'bottom';
|
|
dismissEvent: EventEmitter<any>;
|
|
shown: Subject<void>;
|
|
hidden: Subject<void>;
|
|
constructor(_document: any, _elRef: ElementRef<HTMLElement>, _zone: NgZone);
|
|
dismiss(reason: any): void;
|
|
ngOnInit(): void;
|
|
ngOnDestroy(): void;
|
|
hide(): Observable<any>;
|
|
private _show;
|
|
private _enableEventHandling;
|
|
private _disableEventHandling;
|
|
private _setFocus;
|
|
private _restoreFocus;
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgbOffcanvasPanel, never>;
|
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgbOffcanvasPanel, "ngb-offcanvas-panel", never, { "animation": "animation"; "ariaLabelledBy": "ariaLabelledBy"; "ariaDescribedBy": "ariaDescribedBy"; "keyboard": "keyboard"; "panelClass": "panelClass"; "position": "position"; }, { "dismissEvent": "dismiss"; }, never, ["*"], true, never>;
|
|
}
|