SiHeaderAccountItemComponent documentation¶
import { SiHeaderAccountItemComponent } from '@siemens/element-ng/application-header'; Adds an account item to the header. Should be located inside .header-actions.
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| accountItemLabel ¶ | TranslatableString | $localize`:@@SI_APPLICATION_HEADER.ACCOUNT:Account of {{name}}` | Accessible label for the account item. |
| badge inherited ¶ | number | boolean | null | undefined | Adds a badge to the header item. If type • =number, the number will be shown and automatically trimmed if >99 • =true, an empty red dot will be shown Inherited from | |
| imageUrl ¶ | string | undefined | URL to an image which should be shown instead of the initials. | |
| initials ¶ | string | undefined | Initials of the account. If not provided, they will be calculated. | |
| name required ¶ | string | Name of the account. |
Types Documentation¶
Represents a translatable string. This can either be a translation key, e.g. import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.
Except where otherwise noted, content on this site is licensed under MIT License.