react-component / slider

React Slider
https://slider.react-component.now.sh/
MIT License
3.04k stars 772 forks source link

feat: add `freeze` and `clickable` APIs #1001

Closed Mingholy closed 3 months ago

Mingholy commented 3 months ago

freeze

freeze will take left or right as legitimate value. If set to left, Range will freeze the relative distances between the changing value and values at left, and right freezes values at right.

clickable

If clickable set to false, clicking on tracks/rail will not change any value, useful when you need to control the values.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
slider ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2024 11:34am