Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
CrystalWindSnake committed Nov 25, 2024
1 parent 993b892 commit da25bc6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ex4nicegui/reactive/officials/range.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@ def __init__(
value: Optional[TMaybeRef[Dict[str, int]]] = None,
on_change: Optional[Callable[..., Any]] = None,
) -> None:
"""A lazy version of `rxui.range` that only updates the value when the user releases the range.
Args:
min (TMaybeRef[float]): lower bound of the range
max (TMaybeRef[float]): upper bound of the range
step (TMaybeRef[float], optional): step size. Defaults to 1.0.
value (Optional[TMaybeRef[Dict[str, int]]], optional): initial value to set min and max position of the range. Defaults to None.
on_change (Optional[Callable[..., Any]], optional): callback which is invoked when the user releases the range. Defaults to None.
"""
super().__init__(
min=min,
max=max,
Expand Down

0 comments on commit da25bc6

Please sign in to comment.