yera.runtime.blocks.slider
Emit a correlated request for a bounded numeric value.
The request carries its lower and upper bounds, label, and initial value. When no initial value is supplied, the block uses the midpoint of the range. Its block identity correlates the submitted number with the waiting app.
Symbols
request_input_slider
request_input_slider(
min_value: float,
max_value: float,
label: str,
default_value: float | None = None,
) → strRequest a numeric value from a bounded slider.
Parameters
min_value
type: float
Lower bound of the slider.
max_value
type: float
Upper bound of the slider.
label
type: str
Prompt shown alongside the slider.
default_value
type: float | None = None
Optional initial value.
Returns
type: str
Block ID identifying the input request.