Light Mode
User Settings
The <salla-user-settings>
web component allows the user to manage their account settings such as enabling notifications and closing accounts, and that can be customized using the properties' parameters available.
:::tip[Note]
Available API Endpoints for the User Settings component is:
Example
Usage
<!-- Basic User Settings component usage -->
<salla-user-settings
is-notifiable="true">
</salla-user-settings>
This JS web component can be targeted for styling by its .s-user-settings
class. Following is a complete source code for customizing this component:
.s-user-settings{
&-wrapper{
}
&-section{
}
&-title{
}
&-subtitle{
}
&-action{
}
}
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
Is Notifiable | is-notifiable |
Value used for handling notification toggle check box. | boolean |
false |
Last modified: 3 months ago