MCPcopy Index your code
hub / github.com/cifertech/DisplayKit / requestToolExport

Function requestToolExport

app.js:833–841  ·  view source on GitHub ↗
(toolKey)

Source from the content-addressed store, hash-verified

831}
832
833function requestToolExport(toolKey) {
834 const frame = getToolFrameEl(toolKey);
835 if (!frame?.contentWindow) return;
836 try {
837 frame.contentWindow.postMessage({ type: "requestExport", tool: toolKey }, "*");
838 } catch {
839 // ignore
840 }
841}
842
843function setToolOverlayAction(toolKey) {
844 activeEmbeddedToolKey = toolKey;

Callers 1

app.jsFile · 0.85

Calls 1

getToolFrameElFunction · 0.85

Tested by

no test coverage detected