@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
14 lines (12 loc) • 574 B
TypeScript
import { PostMessageAction } from '../types/types';
import { default as Iframe, IframeOptions } from './iframe';
export declare const assertValidFunction: (candidate: Function) => void;
declare class AffinityIFrame extends Iframe {
constructor(containerElement: HTMLElement, url: string);
static createUniqueId(): string;
getAffinityUrlWithUID(url: string): string;
addWindowMessageListener(actionCb: (action: PostMessageAction) => void): void;
createIframe(options: IframeOptions): HTMLIFrameElement;
init(): void;
}
export default AffinityIFrame;