UNPKG

@gaoding/editor-sdk

Version:

稿定编辑器对外 SDK

16 lines (15 loc) 477 B
export * from 'penpal'; export declare function createIframe(url: string, query: { [k: string]: any; }, container: string | HTMLElement): { open: () => void; close: () => void; iframe: HTMLIFrameElement; }; export declare function createIframeModal(url: string, query: { [k: string]: any; }, onClose?: () => Promise<void | boolean> | void | boolean, hide?: boolean): { iframe: HTMLIFrameElement; open: () => void; close: () => Promise<void>; };