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": [
{
"color": "string",
"placement": "string",
"size": "number",
"size_unit": "string",
"tooltip": [
{
"condition": "string",
"heading": false,
"text": "string"
}
],
"type": "string"
}
],
"navigation": "string",
"text": "string"
},
"rowspan": 0,
"separator": false,
"span": 0,
"weight": 0,
"widget_id": "string"
}
string
alignment
Optional
Constraints:
default: LEFT
Aligns widget either left or right.
Possible values are :
LEFT,
RIGHT,
integer As int32
As int32
rowspan
Optional
Constraints:
minimum: 1
Represents the vertical span of the widget / container
boolean
separator
Optional
If true, separates this widget in a container.
integer As int32
As int32
span
Optional
Constraints:
minimum: 1
maximum: 12
Represents the horizontal span of the widget / container.
integer As int32
As int32
weight
Optional
Constraints:
default: 10000
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
Constraints:
maxLength: 255
Id of the widget configuration that is held by a multi-widget or a container or a view.