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

Function closeEmbeddedTool

app.js:1020–1027  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1018}
1019
1020function closeEmbeddedTool() {
1021 if (!toolOverlay) return;
1022 toolOverlay.classList.remove("open");
1023 toolOverlay.setAttribute("aria-hidden", "true");
1024 document.documentElement.classList.remove("tool-open");
1025 setToolOverlayAction(null);
1026 setActiveToolSwitchUI(null);
1027}
1028
1029// Intercept tool links and open inside the app overlay
1030document.querySelectorAll("[data-open-tool]").forEach((el) => {

Callers 1

app.jsFile · 0.85

Calls 2

setToolOverlayActionFunction · 0.85
setActiveToolSwitchUIFunction · 0.85

Tested by

no test coverage detected