Skip to main content

UserSettingsDialog

<ui5-user-settings-dialog> | Since 2.8.0
info

The following entity is available under an experimental flag and its API and behavior are subject to change.

The ui5-user-settings-dialog is an SAP Fiori-specific web component used in the ui5-user-menu. It allows the user to easily view information and settings for an account.

ES6 Module Import

import "@ui5/webcomponents-fiori/dist/UserSettingsDialog.js";

Basic Sample

Properties

open

DescriptionDefines, if the User Settings Dialog is opened.
Typeboolean
Defaultfalse

headerText

DescriptionDefines the headerText of the item.
Typestring | undefined
Defaultundefined

showSearchField

DescriptionDefines if the Search Field would be displayed.
Note: By default the Search Field is not displayed.
Typeboolean
Defaultfalse

Slots

default

DescriptionDefines the user settings items.
Note: If no setting item is set as selected, the first one will be selected.
TypeArray<UserSettingsItem>

fixedItems

DescriptionDefines the fixed user settings items.
TypeArray<UserSettingsItem>

Events

selection-change

DescriptionFired when an item is selected.
TypeCustomEvent<UserSettingsItemSelectEventDetail>
Parametersitem: UserSettingsItem
The selected user settings item.
BubblesNo
CancelableYes - via preventDefault()

open

DescriptionFired when a settings dialog is open.
TypeCustomEvent
BubblesNo
CancelableNo

before-close

DescriptionFired before the settings dialog is closed.
TypeCustomEvent
BubblesNo
CancelableYes - via preventDefault()

close

DescriptionFired when a settings dialog is closed.
TypeCustomEvent
BubblesNo
CancelableNo

Methods

No methods available for this component.

CSS Parts

No CSS parts available for this component.