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#
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> |

扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群Modified at 2025-02-20 07:53:20