Skip to content

status

Displays a status or a list of statuses.

Properties

Name Type Default Description
value(★) dict|list[dict]|tuple|list[tuple]

The different statuses to represent. See below.

without_close bool False

If True, the user cannot hide the child statuses.

id str

The identifier that will be assigned to the rendered HTML component.

properties dict[str, any]

Bound to a dictionary that contains additional properties for this element.

class_name str

List of CSS class names that will be associated with the generated HTML Element. This class names will be added to the default taipy-<element_type>.

hover_text dynamic(str)

Information that is displayed when the user hovers over this element.

(★)value is the default property for this visual element.

Usage

value can be a list of tuples:

  • first element: status
  • second element: message

or a list of dictionaries that contain the keys:

   - *status*
   - *message*

Show the current status

Page content

<|{value}|status|>
<taipy:status>{value}</taipy:status>

Prevent status dismiss

If you don't want the user to be allowed to dismiss the displayed statuses, you can use the without_close property.

Page content

<|{value}|status|without_close|>
<taipy:status without_close="True">{value}</taipy:status>