@idscan/idvc2
Version:
component for the capturing documents
19 lines (18 loc) • 479 B
TypeScript
interface DestructedOptions {
componentWrapper: HTMLElement;
containerId: string;
mainId?: string;
cancelBtnId: string;
backgroundId: string;
}
declare class Modal {
componentWrapper: HTMLElement;
cancelBtn: HTMLButtonElement;
container: HTMLDivElement;
private readonly background;
constructor(opts: DestructedOptions);
addCancelHandler(handler: (e?: Event) => void): void;
hide(): void;
show(): void;
}
export default Modal;