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
812 views
in Technique[技术] by (71.8m points)

ionrangeslider: disable drag the slider. Only want to use for display

I am using ionrangeslider to display some temperature value. I like the way it displays.

I dont want the user to slide it. How can i disable the slider

I didnt find any option to diable dragging

this is the html and the js i am using

                        <input type="text" class="js-range-slider" name="my_range" value=""
                            data-min="40"
                            data-max="210"
                            data-from="115"
                            data-grid="true",
                            data-hide-min-max="true",
                            data-postfix="'F"
                        />

                        $('.js-range-slider').ionRangeSlider()

It shows as enter image description here

question from:https://stackoverflow.com/questions/66051333/ionrangeslider-disable-drag-the-slider-only-want-to-use-for-display

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

1 Answer

0 votes
by (71.8m points)
Waitting for answers

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

2.1m questions

2.1m answers

60 comments

57.0k users

...