| 1234567891011121314151617181920212223242526272829303132333435363738 |
- import { ClassName, DismissReasons, Selector, TransitionDurations } from './models';
- export declare class ModalOptions {
- /**
- * Includes a modal-backdrop element. Alternatively,
- * specify static for a backdrop which doesn't close the modal on click.
- */
- backdrop?: boolean | 'static';
- /**
- * Closes the modal when escape key is pressed.
- */
- keyboard?: boolean;
- focus?: boolean;
- /**
- * Shows the modal when initialized.
- */
- show?: boolean;
- /**
- * Ignore the backdrop click
- */
- ignoreBackdropClick?: boolean;
- /**
- * Css class for opened modal
- */
- class?: string;
- /**
- * Toggle animation
- */
- animated?: boolean;
- /**
- * Modal data
- */
- initialState?: Object;
- }
- export declare const modalConfigDefaults: ModalOptions;
- export declare const CLASS_NAME: ClassName;
- export declare const SELECTOR: Selector;
- export declare const TRANSITION_DURATIONS: TransitionDurations;
- export declare const DISMISS_REASONS: DismissReasons;
|