jslib-nightly
Version:
SheerID JavaScript Library
18 lines (17 loc) • 527 B
TypeScript
declare type IframeOptions = {
className: string;
};
declare class Iframe {
containerElement: HTMLElement;
verificationUrl: URL;
isMobileDevice: boolean;
iframe: HTMLIFrameElement;
verificationIframeUid: string;
constructor(containerElement: HTMLElement, url: string);
createUniqueId(): string;
createIframe(options: IframeOptions): HTMLIFrameElement;
isValidHttpUrl(urlString: string): boolean;
addVerificationSizeUpdatesListener(): void;
init(): void;
}
export default Iframe;