Hi,
i dynamicalls add knobs to a div
<label class="fw-bold"> labelllBB</label>
<webaudio-knob class="inputKnobFix" id="fxConatainerx1" diameter=75 step=5 min=0 max=30 src="ASSETS/pots/kjLEDknob_1447_64x64_64.png" value=5></webaudio-knob>
when setting a value with
document.getElementById("fxpar1").setValue(10,true);
(or when provided as value tag, which can be seen in the upper html code)
the knob is set to the right position but its value is not displayed underneath (as opposed to turning the knob by hand)
i need to do an extra
document.getElementById("fxpar1").innerHTML = "10";
to display the value under the knob..., is there a way to avoid the second step ? (class "webautioctrl-label)
it does work, with the "webaudio-param", but i have to style that seperatly (guessing that is the only way???, and i can't set text as value with "webaudio-param")
thanks!
Hi,
i dynamicalls add knobs to a div
when setting a value with
(or when provided as value tag, which can be seen in the upper html code)
the knob is set to the right position but its value is not displayed underneath (as opposed to turning the knob by hand)
i need to do an extra
to display the value under the knob..., is there a way to avoid the second step ? (class "webautioctrl-label)
it does work, with the "webaudio-param", but i have to style that seperatly (guessing that is the only way???, and i can't set text as value with "webaudio-param")
thanks!