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

Function getVal

src/platforms/wasm/compiler/app.ts:430–433  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

428addListener('video-settings-apply', 'click', () => {
429 // Collect settings from form
430 const getVal = (id) => {
431 const el = document.getElementById(id);
432 return el ? el.value : '';
433 };
434 videoSettings.videoCodec = getVal('video-codec');
435 videoSettings.videoBitrate = parseFloat(getVal('video-bitrate')) || videoSettingsDefaults.videoBitrate;
436 videoSettings.audioCodec = getVal('audio-codec');

Callers 1

app.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected