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

Function setWidth

src/components/scrollbar/index.js:94–97  ·  view source on GitHub ↗
(width)

Source from the content-addressed store, hash-verified

92 }
93
94 function setWidth(width) {
95 if (isVertical) $scrollbar.style.width = $cursor.style.width = width + "px";
96 else $scrollbar.style.height = $cursor.style.height = width + "px";
97 }
98
99 function setThumbHeight(value) {
100 thumbHeight = value;

Callers 2

index.jsFile · 0.85
ScrollBarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected