Output a slide widget. Refer to: `pywebio.input.slider()`
(name: str, *, label: str = '', value: Union[int, float] = 0, min_value: Union[int, float] = 0,
max_value: Union[int, float] = 100, step: int = 1, required: bool = None, help_text: str = None,
scope: str = None, position: int = OutputPosition.BOTTOM)
| 211 | |
| 212 | |
| 213 | def put_slider(name: str, *, label: str = '', value: Union[int, float] = 0, min_value: Union[int, float] = 0, |
| 214 | max_value: Union[int, float] = 100, step: int = 1, required: bool = None, help_text: str = None, |
| 215 | scope: str = None, position: int = OutputPosition.BOTTOM) -> Output: |
| 216 | """Output a slide widget. Refer to: `pywebio.input.slider()`""" |
| 217 | from pywebio.input import slider |
| 218 | check_dom_name_value(name, 'pin `name`') |
| 219 | single_input_return = slider(name=name, label=label, value=value, min_value=min_value, max_value=max_value, |
| 220 | step=step, required=required, help_text=help_text) |
| 221 | return _pin_output(single_input_return, scope, position) |
| 222 | |
| 223 | |
| 224 | def put_actions(name: str, *, label: str = '', buttons: List[Union[Dict[str, Any], Tuple, List, str]] = None, |
no test coverage detected
searching dependent graphs…