Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ toggle
Function
toggle
src/components/collapsableList.js:80–86 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
}
79
80
function
toggle() {
81
if
($title.collapsed) {
82
expand();
83
}
else
{
84
collapse();
85
}
86
}
87
88
function
defineProperties($el) {
89
Object.defineProperties($el, {
Callers
2
createFolderElement
Method · 0.50
defineCollapsibleAccessors
Method · 0.50
Calls
2
expand
Function · 0.85
collapse
Function · 0.85
Tested by
no test coverage detected