Closed Rich-Harris closed 2 years ago
If you have this...
const opts = knobby.panel({ foo: 0.1 });
...it will create an <input type="number"> with the default step of 1, meaning the 0.1 value is immediately lost.
<input type="number">
step
1
If you have this...
...it will create an
<input type="number">
with the defaultstep
of1
, meaning the 0.1 value is immediately lost.