UNPKG

ngx-bootstrap

Version:
32 lines (31 loc) 963 B
import { EventEmitter } from '@angular/core'; import * as ɵngcc0 from '@angular/core'; export declare class BsModalRef<T = any> { /** * Event that is fired when the modal behind the ref starts hiding */ onHide?: EventEmitter<unknown>; /** * Event that is fired when the modal behind the ref finishes hiding */ onHidden?: EventEmitter<unknown>; /** * Allow user to ID for the modal. Otherwise, a unique number will be given */ id?: number; /** * Reference to a component inside the modal. Null if modal's been created with TemplateRef */ content?: T; /** * Hides the modal */ hide: () => void; /** * Sets new class to modal window */ setClass: (newClass: string) => void; static ɵfac: ɵngcc0.ɵɵFactoryDef<BsModalRef<any>, never>; static ɵprov: ɵngcc0.ɵɵInjectableDef<BsModalRef<any>>; } //# sourceMappingURL=bs-modal-ref.service.d.ts.map