@prismatic-io/embedded
Version:
Embed Prismatic's integration marketplace and workflow designer within your existing application.
16 lines (15 loc) • 1.05 kB
TypeScript
import { Options } from "../types/options";
export declare const EMBEDDED_ID = "pio__embedded";
export declare const EMBEDDED_IFRAME_ID = "pio__iframe";
export declare const EMBEDDED_IFRAME_PRELOAD_ID = "pio__iframe-preload";
export declare const EMBEDDED_IFRAME_CONTAINER_CLASS = "pio__iframeContainer";
export declare const EMBEDDED_IFRAME_CONTAINER_SELECTOR: string;
export declare const EMBEDDED_OVERLAY_CLASS = "pio__overlay";
export declare const EMBEDDED_OVERLAY_SELECTOR: string;
export declare const EMBEDDED_OVERLAY_VISIBLE_CLASS: string;
export declare const EMBEDDED_POPOVER_CLASS = "pio__popover";
export declare const EMBEDDED_POPOVER_CLOSE_CLASS = "pio__closeBtn";
export declare const getIframeContainerElement: (selector: string) => Element | null;
export declare const getIframeElement: (selector: string | undefined) => Element | null;
export declare const isIframe: (element?: Element | null) => element is HTMLIFrameElement;
export declare const setIframe: (route: string, options: Options, params?: Record<string, string>) => void;