MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / createIframePreviewAdapter

Function createIframePreviewAdapter

packages/sdk/src/adapters/iframe.ts:641–646  ·  view source on GitHub ↗
(
  iframe: HTMLIFrameElement,
  dispatch?: (op: EditOp) => void,
)

Source from the content-addressed store, hash-verified

639}
640
641export function createIframePreviewAdapter(
642 iframe: HTMLIFrameElement,
643 dispatch?: (op: EditOp) => void,
644): PreviewAdapter {
645 return new IframePreviewAdapter(iframe, dispatch);
646}

Callers 1

iframe.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected