jw-value
The schema defines the following properties:
Property | Type | Required | Description |
type | widget.value | true | |
instanceId | InstanceId | Expression | false | |
options | Value Widget Options | true | |
Properties of the options object:
Property | Type | Required | Description |
footer | string | Expression | TextWithFormat | TextLocale | false | Footer text of widget |
footerAlign | enum<string> | false | Footer text align |
placeholders | object[] | false | Widget specific placeholders config |
value | string | number | string | true | Main value of widget |
align | enum<string> | false | Content align |
format | Date & Number Format | false | Format of the value. It can be currency for example. |
top | false | Top part of widget | |
bottom | false | Bottom part of widget | |
style | Style | false | |
Footer text of widget
Footer text align
This element must be one of the following enum values:
- left
- right
- center
Widget specific placeholders config
The object is an array with all elements of the type object.
The array object has the following properties:
Main value of widget
The object must be any of the following types:
Content align
This element must be one of the following enum values:
- left
- right
- center
Format of the value. It can be currency for example.
Top part of widget
The object must be any of the following types:
Bottom part of widget
The object must be any of the following types:
Properties of the style object:
Property | Type | Required | Description |
isNegative | boolean | string | false | |
The object must be any of the following types: