sepal_ui.sepalwidgets.alert.Divider#
- class sepal_ui.sepalwidgets.alert.Divider(**kwargs)[source]#
A custom Divider with the ability to dynamically change color.
Whenever the type_ trait is modified, the divider class will change accordingly.
- Parameters:
class_ (str) – the initial color of the divider
kwargs (optional) – any parameter from a v.Divider. if set, ‘class_’ will be overwritten.
Attributes
add_class_type
type_
Added type_ trait to specify the current color of the divider
Methods
A custom Divider with the ability to dynamically change color.
- Divider.__init__(class_='', **kwargs)[source]#
A custom Divider with the ability to dynamically change color.
Whenever the type_ trait is modified, the divider class will change accordingly.
- Parameters:
class_ (str) – the initial color of the divider
kwargs (optional) – any parameter from a v.Divider. if set, ‘class_’ will be overwritten.
- Return type:
None