MCPcopy Create free account
hub / github.com/NianBroken/Firework_Simulator / toggleMenu

Function toggleMenu

js/script.js:252–258  ·  view source on GitHub ↗
(toggle)

Source from the content-addressed store, hash-verified

250}
251
252function toggleMenu(toggle) {
253 if (typeof toggle === "boolean") {
254 store.setState({ menuOpen: toggle });
255 } else {
256 store.setState({ menuOpen: !store.state.menuOpen });
257 }
258}
259
260function updateConfig(nextConfig) {
261 nextConfig = nextConfig || getConfigFromDOM();

Callers 2

handlePointerStartFunction · 0.85
handleKeydownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected