MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / hide

Function hide

src/lib/devTools.js:112–118  ·  view source on GitHub ↗

* Hide the inspector panel

()

Source from the content-addressed store, hash-verified

110 * Hide the inspector panel
111 */
112 hide() {
113 if (!isInitialized) return;
114 erudaInstance?.hide();
115 const entryBtn =
116 erudaInstance?._shadowRoot?.querySelector(".eruda-entry-btn");
117 if (entryBtn) entryBtn.style.display = "none";
118 },
119
120 /**
121 * Toggle the inspector panel visibility

Callers 2

onclickFunction · 0.50
onhideFunction · 0.50

Calls 1

hideMethod · 0.45

Tested by

no test coverage detected