jslib-nightly
Version:
SheerID JavaScript Library
21 lines (20 loc) • 601 B
TypeScript
declare class Modal {
verificationUrl: string;
redirectOnMobile: boolean;
overlay: HTMLElement;
wrapper: HTMLElement;
iframe: HTMLIFrameElement;
isMobileDevice: boolean;
closeButtonText: string;
stopPropagation: boolean;
constructor(url: string, userConfig: any);
createCloseBtn(): HTMLAnchorElement;
closeModal(historyEventTrigger?: boolean): void;
createOverlay(): HTMLElement;
createWrapper(): HTMLElement;
popStateEventHandler: () => void;
addPopStateListener(): void;
displayModal(): void;
init(): void;
}
export default Modal;