Badge
Introduction
Function signature
Badge(
value: Union[int, str, float] = None,
widget: Optional[Widget] = None,
max: int = None,
is_dot: bool = False,
hidden: bool = False,
widget_id: str = None,
)
Parameters
Parameters
Type
Description
value

widget

max

is_dot

hidden

widget_id
Methods and attributes
Attributes and Methods
Description
Mini App Example
Import libraries
Init API client
Prepare Button, Checkbox, Input, InputNumber widgets to contain in Badge widgets
Button, Checkbox, Input, InputNumber widgets to contain in Badge widgetsCreate Badge widgets we will use in UI for demo
Badge widgets we will use in UI for demoCreate app layout
Create app using layout
Add functions to control widgets from code

Last updated