UNPKG

1.05 kBSource Map (JSON)View Raw
1{"version":3,"file":"bs-modal-ref.service.d.ts","sources":["bs-modal-ref.service.d.ts"],"names":[],"mappings":"AAAA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA","sourcesContent":["import { EventEmitter } from '@angular/core';\nexport declare class BsModalRef<T = any> {\n /**\n * Event that is fired when the modal behind the ref starts hiding\n */\n onHide?: EventEmitter<unknown>;\n /**\n * Event that is fired when the modal behind the ref finishes hiding\n */\n onHidden?: EventEmitter<unknown>;\n /**\n * Allow user to ID for the modal. Otherwise, a unique number will be given\n */\n id?: number | string;\n /**\n * Reference to a component inside the modal. Null if modal's been created with TemplateRef\n */\n content?: T;\n /**\n * Hides the modal\n */\n hide: () => void;\n /**\n * Sets new class to modal window\n */\n setClass: (newClass: string) => void;\n}\n"]}
\No newline at end of file