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

Function hide

src/components/referencesPanel/index.js:253–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251 }
252
253 function hide() {
254 if (!state.visible) return;
255 state.visible = false;
256
257 $mask.classList.remove("visible");
258 $panel.classList.remove("visible");
259
260 actionStack.remove("references-panel");
261
262 setTimeout(() => {
263 $mask.remove();
264 $panel.remove();
265 }, 250);
266
267 if (currentPanel === panelInstance) {
268 currentPanel = null;
269 }
270 }
271
272 function setReferences(references) {
273 state.loading = false;

Callers 3

onDragEndFunction · 0.70
openInTabFunction · 0.70
renderReferencesListFunction · 0.70

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected