Light Mode
User Profile
This <salla-user-profile>
web component allows the user to display the user information, this can be customised to display information such as Name, Email, Phone Number.
Example
Usage
:host {
display: block;
}
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
Custom Fields | custom-fields |
Custome fields that can be rendered in addition to the default ones. | string |
undefined |
Methods
The pre-defined methods
allow for calling functions built by Salla to carry out certain actvities, such as setCustomFields(fields:CustomField[])
which sets custom fields for the component.
Method | Description | Return Type |
---|---|---|
setCustomFields(fields: CustomField[]) |
Sets custom fields for the component. Can be useful for non HTML usage. | Promise<void> |
Last modified: 4 months ago