Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
700 views
in Technique[技术] by (71.8m points)

reactjs - React.js Circular slider with two thumbs

I am trying to build a circular slider with two thumbs(knobs). The requirement is very specific our client wants it to be circular in shape and should have two knobs .I tried changing the shape of MUISlider to circular(already supports two knobs not circular though) but in vain.

https://codesandbox.io/s/h0esn

We tried this but doesnt support two knobs - https://dmitrymorozoff.github.io/react-circle-slider/

Please find attached image for refrence help me in finding something that suits our requirement . enter image description here

question from:https://stackoverflow.com/questions/65879603/react-js-circular-slider-with-two-thumbs

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can try to use the roundSlider plugin which supports lots of customization. Check the below demo for the circular slider with two thumbs example:

Demo: https://stackblitz.com/edit/react-circular-slider-with-two-thumbs


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...