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

Function show

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

Source from the content-addressed store, hash-verified

221 }
222
223 function show() {
224 if ($scrollbar.dataset.hidden === "false") {
225 return;
226 }
227 $scrollbar.dataset.hidden = false;
228 clearTimeout(scrollbarTimeoutHide);
229 clearTimeout(scrollbarTimeoutRemove);
230 $scrollbar.classList.remove("hide");
231 if (!$scrollbar.isConnected) {
232 options.parent.append($scrollbar);
233 if (typeof onshow === "function") onshow();
234 }
235 }
236
237 function hide() {
238 if (touchStarted) return;

Callers 2

renderFunction · 0.70
ContextmenuFunction · 0.50

Calls 3

onshowFunction · 0.85
appendMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected