swiftui-sliders icon indicating copy to clipboard operation
swiftui-sliders copied to clipboard

Add step property.

Open Muhammadbarznji opened this issue 2 years ago • 3 comments

Thanks for this project, can you add the step property, for example, adding five for each step or movement?

Muhammadbarznji avatar Jan 03 '23 13:01 Muhammadbarznji

Hi @Muhammadbarznji, We have a step property already. Will this fit your use case?

ValueSlider(value: $value, in: 0 ... 100, step: 5)

ay42 avatar Jan 03 '23 21:01 ay42

Hi @ay42, Thanks for the quick response, what about RangeSlider? in my case I have a price range. do you have any idea how to handle this case?

Muhammadbarznji avatar Jan 04 '23 05:01 Muhammadbarznji

@ay42 Hey Alexander is it possible to have a step for RangeSlider?

Anywhere-Music-Player avatar Nov 08 '23 22:11 Anywhere-Music-Player