PyWebIO
PyWebIO copied to clipboard
Slider support?
Requesting a feature add - slider.
For multi-parameter apps, a slider is a natural choice for many situations. Especially, it gives an idea about the range of values to experiment with.
Slider input is already added to plan with a new feature, please stay tuned.
Slider input was added in version 1.3. See https://pywebio.readthedocs.io/en/latest/input.html#pywebio.input.slider
Slider input was added in version 1.3. See https://pywebio.readthedocs.io/en/latest/input.html#pywebio.input.slider
Yes it exists in the docs, but when i try to implement it in my code, it says the name 'slider' is not defined. In fact I even checked the input.py file, there is no implementation of slider
Can slider display a number, for example,value、min_value、max_value=100
slider(label="请选择数值:",value=5, min_value=1, max_value=100, step=1
)
@wujianming604 Thanks for feedback, I will add this feature in next version.
Thanks !!
@wujianming604 forget to update, value label for slider input was already available since v1.5