Skip to content

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

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 undefined for no button.

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 aria-expanded.

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';
Properties

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';

StatusType

'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical'
type alias
import type { StatusType } from '@siemens/element-ng/common';


Except where otherwise noted, content on this site is licensed under MIT License.