MCPcopy Create free account
hub / github.com/DFin/Neural-Network-Visualisation / syncThresholdUi

Function syncThresholdUi

assets/main.js:510–513  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

508 return value.toFixed(5);
509 };
510 const syncThresholdUi = (value) => {
511 connectionThresholdSlider.value = String(value);
512 connectionThresholdValue.textContent = formatThreshold(value);
513 };
514 const applyConnectionThreshold = (rawValue, { emit = true } = {}) => {
515 const max = updateThresholdSliderBounds();
516 let parsed = Number.parseFloat(rawValue);

Callers 1

applyConnectionThresholdFunction · 0.85

Calls 1

formatThresholdFunction · 0.85

Tested by

no test coverage detected