DashSelectOptionItem
TypeSource
DashSelectOptionItem(
label: str,
value: Any,
disabled: bool,
)
DashSelectOptionItem
is a TypedDict
.
The option item of a Dash selectable component.
The available options of the annotator. The usage is like the selector component
dcc.Dropdown(options=...)
. Each item represents an available choice of the
annotation type.
Aliases
This type can be acquired by
import dash_picture_annotation as dpa
dpa.DashSelectOptionItem
dpa.typehints.DashSelectOptionItem
Keywords
Keyword | Type | Required | |
---|---|---|---|
label | str | Label (displayed text) of the option. | |
value | Any | The value of the option which will be applied to the annotation data. | |
disabled | bool | A flag. If specified, this option item will be not selectable. |