jw-avatar
The schema defines the following properties:
Property | Type | Required | Description |
type | widget.avatar | true | |
instanceId | InstanceId | Expression | false | |
options | Avatar 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 |
text | string | Expression | TextWithFormat | TextLocale | true | Text displayed when uri is empty. |
uri | string | string | false | Source of image displayed as avatar |
top | false | Display component at the top of widget | |
bottom | false | Display component at the bottom of widget |
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:
Text displayed when uri is empty.
Source of image displayed as avatar
The object must be any of the following types:
Display component at the top of widget
Display component at the bottom of widget