jc-avatar
The schema defines the following properties:
Property | Type | Required | Description |
type | component.avatar | true | |
instanceId | InstanceId | Expression | false | |
when | Expression | boolean | false | |
options | Avatar Options | true | |
Properties of the options object:
Property | Type | Required | Description |
size | enum<string> | false | Size of Avatar |
title | string | Expression | TextWithFormat | TextLocale | true | Text displayed when uri is empty. |
align | AvatarAlign | false | The location of text or image in relation to the horizontal center of its container. |
uri | string | string | false | Source of image displayed as avatar |
Size of Avatar
This element must be one of the following enum values:
- regular
- small
- large
Text displayed when uri is empty.
The location of text or image in relation to the horizontal center of its container.
Default: "left"
Source of image displayed as avatar
The object must be any of the following types:
The schema defines the following additional types:
This element must be one of the following enum values:
- left
- right
- center
