WidgetItem

WidgetItem
WidgetItem

Represents a reference to a widget that is held by a container or a multi-widget or a View.

JSON Example
{
    "alignment": "string",
    "label": {
        "condition": "string",
        "hover": false,
        "icons": [
            {
                "placement": "string",
                "tooltip": [
                    {
                        "condition": "string",
                        "heading": false,
                        "text": "string"
                    }
                ],
                "type": "string"
            }
        ],
        "navigation": "string",
        "text": "string"
    },
    "separator": false,
    "weight": 0,
    "widget_id": "string"
}
string
alignment
Optional

Aligns widget either left or right.

Possible values are : LEFT, RIGHT,
label
Optional

Label that will be displayed for a UI element.

boolean
separator
Optional

If true, separates this widget in a container.

integer As int32 As int32
weight
Optional

Determines placement of widget or container relative to other widgets and containers. The lower the weight, the higher it is in the placement order.

string
widget_id
Required

Id of the widget configuration that is held by a multi-widget or a container or a view.