TimePicker
Last updated
Last updated
TimePicker
is a widget in Supervisely that allows to select time input.
Parameters | Type | Description |
---|---|---|
|
|
|
|
| Start time |
|
| Time step |
|
| End time |
|
|
|
|
| Size of input |
|
| Whether |
|
| Whether |
|
| Whether the input is editable |
|
| Whether to show clear button |
|
| ID of the widget |
Determine TimePicker
start time.
type: str
default value: "09:00"
Determine TimePicker
time step.
type: str
default value: "00:15"
Determine TimePicker
end time.
type: str
default value: "22:30"
Determine TimePicker
placeholder.
type: str
default value: None
Determine TimePicker
size of input.
type: Literal["large", "small", "mini", None]
default value: None
Determine whether TimePicker
is read only.
type: bool
default value: False
Determine whether the input is editable.
type: bool
default value: True
Determine whether to show a clear button.
type: bool
default value: True
ID of the widget.
type: str
default value: None
Attributes and Methods | Description |
---|---|
| Set |
| Return |
| Return |
| Set |
| Set |
| Set |
| Decorator function to handle |
You can find this example in our Github repository:
supervisely-ecosystem/ui-widgets-demos/input/008_time_picker/src/main.py
First, we load environment variables with credentials and init API for communicating with Supervisely Instance:
TimePicker
and Text
widgetsPrepare a layout for app using Card
widget with the content
parameter.
Create an app object with layout parameter.