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 |
| items required ¶ | 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¶
Function to call when the item is clicked. action ? : When blinking is enabled, allows to explicitly disable blinking. Custom color as CSS value if Deprecated: use the semantic Status of the item. If not specified, specify A descriptive title The value to show. 0 or '' means greyed outimport type { StatusBarItem } from '@siemens/element-ng/status-bar';
((item: StatusBarItem) => void) ¶ undefined and true mean blink.status is not specifiedstatus input instead.color
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.
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.