MCPcopy Create free account
hub / github.com/Xu22Web/tech-study-js / handleCloseFrame

Function handleCloseFrame

tech-study.js:3619–3621  ·  view source on GitHub ↗

* @description 关闭 frame

()

Source from the content-addressed store, hash-verified

3617 * @description 关闭 frame
3618 */
3619function handleCloseFrame() {
3620 window.parent.postMessage({ id: id.value, closed: true }, URL_CONFIG.homeOrigin);
3621}
3622/**
3623 * @description 等待窗口任务结束
3624 * @param id

Callers 1

handleCloseTaskWinFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected