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

Function observerCallback

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

Source from the content-addressed store, hash-verified

87 });
88
89 function observerCallback() {
90 $thumb.style.top = $cursor.style.top;
91 $thumb.style.left = $cursor.style.left;
92 }
93
94 function setWidth(width) {
95 if (isVertical) $scrollbar.style.width = $cursor.style.width = width + "px";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected