Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/orestbida/cookieconsent
/ toggleClass
Function
toggleClass
playground/src/modules/disableTransitions.js:35–37 ·
view source on GitHub ↗
(className, enable)
Source
from the content-addressed store, hash-verified
33
* @param {boolean} enable
34
*/
35
const
toggleClass = (className, enable) => {
36
document.body.classList[enable ?
'add'
:
'remove'
](className);
37
}
Callers
1
disableTransitions.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…