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

Function closeFrame

tech-study.js:3605–3615  ·  view source on GitHub ↗

* @description 关闭窗口

()

Source from the content-addressed store, hash-verified

3603 * @description 关闭窗口
3604 */
3605function closeFrame() {
3606 log(`关闭窗口 ID: ${id.value}`);
3607 // 窗口显示
3608 frame.show = false;
3609 // 关闭
3610 frame.closed = true;
3611 // 标题
3612 frame.title = '';
3613 // src
3614 frame.src = '';
3615}
3616/**
3617 * @description 关闭 frame
3618 */

Callers 6

initMainListenerFunction · 0.70
closeTaskWinFunction · 0.70
handleLogoutFunction · 0.70
FrameFunction · 0.70
onMountedFunction · 0.70
startTaskFunction · 0.70

Calls 1

logFunction · 0.70

Tested by

no test coverage detected