Application User Menu

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.

Slots

NameDescription
(default)Content area used to place the application Application User Menu content.

Properties

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/AttributeReflectsTypeDefault
languages
Languages[][]
triggerLabel
trigger-label
string''
headline
string''
subline
string''
language
string'English'
languageMenuLabel
language-menu-label
string'Language'
logoutMenuLabel
logout-menu-label
string'Logout'

Events

React EventDescriptionEvent Detail
ods-selectEmitted when a menu item is selected.--

Parts

NameDescription
baseThe component's base wrapper.
app-user-menu-contentThe container that wraps the contents of the Application User Menu.

Search