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

Function expand

src/components/collapsableList.js:61–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 };
60
61 let expand = () => {
62 $mainWrapper.classList.remove("hidden");
63 if ($mainWrapper.ontoggle) $mainWrapper.ontoggle.call($mainWrapper);
64 };
65
66 $title.classList.add("light");
67 $title.addEventListener("click", toggle);

Callers 1

toggleFunction · 0.85

Calls 2

callMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected