angular-bootstrap-md
Version:
Bootstrap 4 & Angular 15 UI KIT - 700+ components, MIT license, simple installation.
54 lines (53 loc) • 1.48 kB
TypeScript
import * as i0 from "@angular/core";
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;
static ɵfac: i0.ɵɵFactoryDeclaration<ModalOptions, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ModalOptions>;
}
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;
static ɵfac: i0.ɵɵFactoryDeclaration<MDBModalRef, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<MDBModalRef>;
}
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;
};