Sunday, 10 July 2022

Custom Svelte material UI Slider label

I need to set custom label of smui/slider https://sveltematerialui.com/demo/slider/ in a tick marks and discrete slider. I've found explained hot to do it in material web components https://github.com/material-components/material-components-web/tree/v13.0.0/packages/mdc-slider and it seems that is possible using setValueToAriaValueTextFn but there isn't any example, and even less using svelte.

How can I do it?

Thank's in advance



from Custom Svelte material UI Slider label

No comments:

Post a Comment