Avatar
An avatar is an iconic image component. It can also be clicked to open a menu.
Properties
| No | Item | Input Value | Default Value | Action Property | Type | Action Default Value | Description |
|---|---|---|---|---|---|---|---|
| 1 | ID | String | Auto-generated | id | string | Auto-generated | The [id] property cannot be set by action. |
| 2 | Width | String | 40 | width | number/string | 40 | Component width |
| 3 | Height | String | 40 | height | number/string | 40 | Component height |
| 4 | X | String | x | number/string | X coordinate position | ||
| 5 | Y | String | y | number/string | Y coordinate position | ||
| 6 | Size | Selection 1. Small 2. Medium 3. Large 4. None | None | size | string | none | Avatar size setting |
| 7 | Style | Selection 1. Circle 2. Rounded 3. Square | Circle | variant | string | circular | Avatar shape |
| 8 | Color | String Color Picker | color | string | Avatar color | ||
| 9 | Badge | Boolean | OFF | badge | boolean | false | Badge display state |
| 10 | Visibility | Boolean | ON | visibility | boolean | true | Component visibility state |
| 11 | Value | String | value | string | Path to file manager | ||
| 12 | Letter | String | letter | string | Character displayed on avatar | ||
| 13 | Click Event | Selection 1. None 2. Menu | None | clickEvent | Click behavior | ||
| 14 | Menu Items | Tabular [Detail 1] | [Detail 1] | menuItems | object array | [Detail 1] | Menu items setting |
[Details 1] Menu Item
The default status is registered as follows. Register from the "ADD" button
To delete, select the check box and click the "DELETE" button
| Select | ID | ICON | LABEL | CLICK EVENT | NEXT UI | URL | DIVIDER |
|---|---|---|---|---|---|---|---|
| Checkbox | Profile | AccountCircle | Profile | None | No | ||
| Checkbox | MFA_Setting | Settings | MFA Setting | NextUi | MFA Setting Step1 | No | |
| Checkbox | Change_Password | LockReset | Change password | NextUi | Change Password | No | |
| Checkbox | Sign_Out | Logout | Sign out | NextUi | Sign Out | No |
“menuItems” is in the form of an array of objects.
[ { "id": "Profile", "icon": "AccountCircle", "label": "Profile", "clickEvent": "None", "nextUi": "", "url": "", "divider": false }, { "id": "MFA_Setting", "icon": "Settings", "label": "MFA Setting", "clickEvent": "NextUi", "nextUi": "MFA_Setting_Step1_code", "url": "", "divider": false }, { "id": "Change_Password", "icon": "LockReset", "label": "Change Password", "clickEvent": "NextUi", "nextUi": "Change_Password_code", "url": "", "divider": false }, { "id": "Sign_Out", "icon": "Logout", "label": "Sign Out", "clickEvent": "NextUi", "nextUi": "Sign_Out_code", "url": "", "divider": false }]Event
| Event name | Description |
|---|---|
| onclick | Performs an action when clicked. |