Closed hccampos closed 6 months ago
For certain use cases the default tick labels don't work well.
I would argue that the default tick labels don't work well for most use cases. For example:
This would be really useful for #46032.
@driskull as we discussed yesterday this is a high priority issue for us! MV needs Range Slider for multidimensional image services and the API implementation cannot proceed until the calcite slider has support for this.
Closing in favor of https://github.com/Esri/calcite-design-system/issues/4004.
Description
For certain use cases the default tick labels don't work well. For example, one may want to display textual labels rather than numerical ones.
It would be great to be able to format slider tick labels. This is already possible in the JS API
Slider
widget by using alabelFormatFunction
: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labelFormatFunctionWhich Component
<calcite-slider>
Example Use Case
Settings slider in the Web SceneViewer
Time sliders as in the
Daylight
slider of the JS API:SVCH