express.ui.input_action_button

express.ui.input_action_button(
    id,
    label,
    *,
    icon=None,
    width=None,
    disabled=False,
    **kwargs,
)

Creates an action button whose value is initially zero, and increments by one each time it is pressed.

Parameters

id : str

An input id.

label : TagChild

An input label.

icon : TagChild = None

An icon to appear inline with the button/link.

width : Optional[str] = None

The CSS width, e.g. ‘400px’, or ‘100%’

disabled : bool = False

If True, the button will not be clickable. Use update_action_button to dynamically enable/disable the button.

****kwargs** : TagAttrValue = {}

Attributes to be applied to the button.

Returns

: Tag

A UI element

Notes

Server value

An integer representing the number of clicks.

See Also

Examples

Loading...




Loading...