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

Function hideImmediately

src/components/scrollbar/index.js:245–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243 }
244
245 function hideImmediately() {
246 $scrollbar.dataset.hidden = true;
247 $scrollbar.classList.add("hide");
248 $scrollbar.remove();
249 if (typeof onhide === "function") onhide();
250 }
251
252 Object.defineProperty($scrollbar, "size", {
253 get: () => scrollbarSize,

Callers

nothing calls this directly

Calls 3

addMethod · 0.80
onhideFunction · 0.50
removeMethod · 0.45

Tested by

no test coverage detected