Details on all elm-knobs releases. The format is roughly based on Keep a Changelog.
2.0.0 (2026-02-20)
- Each knob type now gets its own specific CSS class, to make it easier to style.
- New example project, demonstrating options that can be passed to
view.
viewnow takes options as its first parameter, replacing the need forviewWithOptions.selecthas been simplified to only take a list of options. The functionstoStringandfromStringare no longer needed.customnow supports serialization.- HTML for the panel was changed slightly, mostly in the tags and CSS classes used.
- Default CSS styles (provided by
Knob.styles) were changed to use system colors and root element font size. Also added CSS variables that make it easier to customize.
viewWithOptionshas been removed. Useviewinstead.
1.2.0 (2024-05-04)
- Knobs for strings:
stringInput,stringTextarea. - Knob serialization with
serializeandreadSerialized. - A way to customize some aspects of the view using
viewWithOptions. This includes the ability to not have the panel stuck to a corner. - Interactive documentation.
- A serialization example using the Web Storage API.
- Unit tests for all knobs.
- Incorrect input in some knobs resulted in the last correct value. Now it results in the initial value.
1.1.0 (2023-07-16)
- Knobs:
boolCheckbox,select,colorPicker. - A way to transform knobs (
map.) - A way to create your own custom knob (
custom.) - This changelog.
- Fix style leak for
<input type="range">sibling elements.
1.0.0 (2023-04-30)
- Knobs:
float,floatConstrained,floatSlider,int,intConstrained,intSlider. - A way to render knobs (
view,style.) - A way to get the value out of a knob (
value.) - A way to compose knobs (
compose,stack.) - A way to organize knobs (
label,stackLabel.)