spectrum-web-components
spectrum-web-components copied to clipboard
[Feat]: Fill-start in slider should respect 0-values as well as normalization function
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
Silder
Description of the requested feature
- Currently
fill-startattribute only allows to set values !== 0, but sometimes clients have sliders with min<0 , so for example:min="-100", max="200"- so we need a possibility to definefill-start="0"to not start from centered track position - Also currently the fill-start calculation doesn't respect any provided normalization function, so we'd like to calculate all fill-related values (offset + length) by a given normalization function of model of active handle
Mockups or screenshots
Implementation notes or ideas
No response