UNPKG

616 BTypeScriptView Raw
1export interface ModalOptions {
2 /**
3 * Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click.
4 */
5 backdrop?: boolean | 'static';
6 /**
7 * Closes the modal when escape key is pressed.
8 */
9 keyboard?: boolean;
10 focus?: boolean;
11 /**
12 * Shows the modal when initialized.
13 */
14 show?: boolean;
15 /**
16 * Ignore the backdrop click
17 */
18 ignoreBackdropClick?: boolean;
19}
20export declare const modalConfigDefaults: ModalOptions;
21export declare const ClassName: any;
22export declare const Selector: any;