UNPKG

angular-bootstrap-md

Version:

<a href="http://mdbootstrap.com/docs/angular/getting-started/download/"><img src="https://mdbootstrap.com/img/Marketing/general/logo/medium/mdb-angular2.png"></a> # Angular Bootstrap with Material Design

49 lines (48 loc) 1.19 kB
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' | any; /** * 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 */ containerClass?: string; animated?: boolean; scroll?: boolean; data?: Object; } export declare class MDBModalRef { /** * Reference to a component inside the modal. Null if modal's been created with TemplateRef */ content?: any | null; /** * Hides the modal */ hide(): void; } export declare const modalConfigDefaults: ModalOptions; export declare const ClassName: any; export declare const Selector: any; export declare const TransitionDurations: any; export declare const DISMISS_REASONS: { BACKRDOP: string; ESC: string; };