An Applicaiton User Menu display a Users' profile and other actions the user can perform, like logging of an application. It is accessible from the Application Bar.
import '@ods/components/web.application-user-menu';Note: You only need to import a web component once in your code, as it registers itself globally when defined, allowing you to use it anywhere within your application without needing to re-import it each time you want to use the component.
This component is still in development and cannot be imported at this time.
| Name | Description |
|---|---|
| (default) | Content area used to place the application Application User Menu content. |
Please note, both DOM properties and HTML attributes are shown in the table below. Unless otherwise specified, the property and attribute names are identical.
| Property/Attribute | Reflects | Type | Default |
|---|---|---|---|
languages | Languages[] | [] | |
triggerLabel | string | '' | |
headline | string | '' | |
subline | string | '' | |
language | string | 'English' | |
languageMenuLabel | string | 'Language' | |
logoutMenuLabel | string | 'Logout' |
| React Event | Description | Event Detail |
|---|---|---|
| ods-select | Emitted when a menu item is selected. | -- |
| Name | Description |
|---|---|
| base | The component's base wrapper. |
| app-user-menu-content | The container that wraps the contents of the Application User Menu. |