MCPcopy Create free account
hub / github.com/FastLED/FastLED / handleToolsOptionChange

Function handleToolsOptionChange

src/platforms/wasm/compiler/app.ts:253–263  ·  view source on GitHub ↗
(option)

Source from the content-addressed store, hash-verified

251
252// Handle tools option changes
253function handleToolsOptionChange(option) {
254 if (option === 'ui-events') {
255 // Handle UI Events (JSON Inspector) without page reload
256 if (window.jsonInspector) {
257 window.jsonInspector.toggle();
258 } else {
259 console.warn('JSON Inspector not available yet');
260 }
261 return;
262 }
263}
264
265// Handle tools action changes
266function handleToolsActionChange(action) {

Callers 1

app.tsFile · 0.85

Calls 1

toggleMethod · 0.45

Tested by

no test coverage detected