DataApp.slider(title: Optional[str] = None, value: Optional[Union[str, int, float, List[int], List[float], List[str]]] = None, min_value: Optional[Union[int, float]] = None, max_value: Optional[Union[int, float]] = None, step: Optional[Union[int, float]] = None, range: Optional[bool] = None, options: Optional[Union[List, dict]] = None, **additional) SliderWidget#

Creates a slider that lets a user pick a value from a set range by moving a knob. param title: String with the Slider title. It will be placed on top of the Slider. param value: Initial value of the slider param min_value: Minimum value of the slider. param max_value: Maximum value of the slider. param step: The granularity the slider can step through values. Must greater than 0, and be divided by (max - min) param range: Dual thumb mode. param options: Tick mark of the slider. It can be defined as list of lists ([[0,1],[“Cold”,”Warm”]]) or as a dictionary ({0: “Cold”, 1: “Warm”}) return SliderWidget