SiStatusBarComponent documentation¶
import { SiStatusBarComponent } from '@siemens/element-ng/status-bar';The status bar is the main component within an application to inform users at all times about important status information.
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| allOkText ¶ | TranslatableString | $localize`:@@SI_STATUS_BAR.ALL_OK:All OK` | Text/translation key for "All OK" status in mobile |
| blink ¶ | boolean | false | When true, items with a value have a blinking background |
| blinkPulse ¶ | Observable<boolean> | undefined | blink pulse generator for synchronized blinking with other components | |
| compact ¶ | boolean | false | compact mode |
| itemsrequired ¶ | StatusBarItem[] | Array of status bar items. | |
| muteButton ¶ | boolean | undefined | State of the mute button. Set to | |
| muteButtonText ¶ | TranslatableString | $localize`:@@SI_STATUS_BAR.MUTE:Mute/unmute` | Text/translation key on mute button for screen reader |
| toggleButtonText ¶ | TranslatableString | $localize`:@@SI_STATUS_BAR.TOGGLE:Toggle` | Text for the toggle button that expands/collapses the status bar. Required for a11y. The expanded/collapsed state is communicated separately via |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| muteToggle ¶ | void | Emitted when the mute toggle button is clicked |
Types Documentation¶
import type { StatusBarItem } from '@siemens/element-ng/status-bar'; -
Function to call when the item is clicked.
action?:
((item: StatusBarItem) => void)¶ -
When blinking is enabled, allows to explicitly disable blinking.
undefinedandtruemean blink. - deprecated
Custom color as CSS value if
statusis not specifiedDeprecated: use the semantic
statusinput instead. -
Status of the item. If not specified, specify
color -
A descriptive title
-
The value to show. 0 or '' means greyed out
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';Represents a translatable string. This can either be a translation key, e.g. 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.
import type { ExtendedStatusType } from '@siemens/element-ng/common'; import type { StatusType } from '@siemens/element-ng/common'; Except where otherwise noted, content on this site is licensed under MIT License.