UNPKG

penpal

Version:

A promise-based library for communicating with iframes via postMessage.

8 lines (7 loc) 302 B
import { Methods, WindowsInfo } from './types'; declare const _default: (info: WindowsInfo, methods: Methods, log: Function) => () => void; /** * Listens for "call" messages coming from the remote, executes the corresponding method, and * responds with the return value. */ export default _default;