UNPKG

972 BTypeScriptView Raw
1import { EventEmitter } from '@angular/core';
2import * as ɵngcc0 from '@angular/core';
3export declare class BsModalRef<T = any> {
4 /**
5 * Event that is fired when the modal behind the ref starts hiding
6 */
7 onHide?: EventEmitter<unknown>;
8 /**
9 * Event that is fired when the modal behind the ref finishes hiding
10 */
11 onHidden?: EventEmitter<unknown>;
12 /**
13 * Allow user to ID for the modal. Otherwise, a unique number will be given
14 */
15 id?: number | string;
16 /**
17 * Reference to a component inside the modal. Null if modal's been created with TemplateRef
18 */
19 content?: T;
20 /**
21 * Hides the modal
22 */
23 hide: () => void;
24 /**
25 * Sets new class to modal window
26 */
27 setClass: (newClass: string) => void;
28 static ɵfac: ɵngcc0.ɵɵFactoryDef<BsModalRef<any>, never>;
29 static ɵprov: ɵngcc0.ɵɵInjectableDef<BsModalRef<any>>;
30}
31
32//# sourceMappingURL=bs-modal-ref.service.d.ts.map
\No newline at end of file