- Sliders now show a tooltip with the current slider value when held down on, similar to native sliders.
- Can be disabled by setting
tooltip
to false in a slider custom action.
- Can be disabled by setting
- Better slider on/off class change logic.
- Fixed slider ID logic bug which would cause multiple sliders in different copies of the same card to use the same slider ID or not work at all #67.
- Renamed the following options:
enable_button_feedback
->button_haptics
.enable_touchpad_feedback
->touchpad_haptics
.
- Deprecated the following slider fields in favor of moving them to a slider custom action.
slider_range
->custom_actions.slider.range
.slider_style
->custom_actions.slider.style
.slider_attribute
->custom_actions.slider.attribute
.
- Added
step
option to slider custom action. - Added custom action
haptics
option to enable or disable haptics for an individual button.
custom_actions:
slider:
range:
- 0.5
- 1
step: 0.1
attribute: brightness
tooltip: true # defaults to true so you don't really need this line
style:
'--border-radius': 4px
Full Changelog: 3.4.0...3.5.0-beta.002