1 | export interface ManagedModalProps {
|
2 | disableScrollLock?: boolean;
|
3 | }
|
4 | export declare function ariaHidden(element: Element, show: boolean): void;
|
5 | interface Modal {
|
6 | mount: Element;
|
7 | modalRef: Element;
|
8 | }
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare class ModalManager {
|
17 | private containers;
|
18 | private modals;
|
19 | constructor();
|
20 | add(modal: Modal, container: HTMLElement): number;
|
21 | mount(modal: Modal, props: ManagedModalProps): void;
|
22 | remove(modal: Modal, ariaHiddenState?: boolean): number;
|
23 | isTopModal(modal: Modal): boolean;
|
24 | }
|
25 | export {};
|