Stefan Haack
Stefan Haack
Hi, I wrapped some ES6 around chess.js, combined it with my "cm-pgn" module and here I proudly present "cm-chess", which supports variations and annotations: https://github.com/shaack/cm-chess
Okay, thanks anyway for your contribution.
The `setValue(Math.round(value / step) * step + step)` is to reconstruct the behaviour of the standard (native) input type="number". The standard input type="number" steps to to values `min + n...
`setValue(value + step)` is not working like the native input type="number". Just make a HTML page an try it. Take a look at the specification: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number "Note: When the data...
In my opinion the correct behaviour is not, that ist should step to `value + step`, but it should step to the next `min + n * step` from `value...
Okay, but wee agree, that it should work like the native spinner, or not? I created a test page for this with different parameters: https://shaack.com/projekte/bootstrap-input-spinner/test-native.html So the question is, how...
Should work as described here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number#step Should implement: _"Only values which are equal to the basis for stepping (min if specified, value otherwise, and an appropriate default value if neither...
Yes, many thanks for the summary. I think it should behave like native, like the Chrome browser. Testpage: https://shaack.com/projekte/bootstrap-input-spinner/test-native.html
This seems to be more of a Vite 3 issue, so you should report this to support there. 🤷♂️
In the package.json of cm-chessboard? This could be easy added.