Skip to content

SiStatusBarItemComponent documentation

import { SiStatusBarItemComponent } from '@siemens/element-ng/status-bar';

Input Properties

NameTypeDefaultDescription
clickable
boolean false

Whether the item has an interactive appearance.

color
string | undefined

Custom background color for the item.

headingrequired
TranslatableString

Heading displayed for the status bar item.

status
ExtendedStatusType | undefined

Status that determines the displayed icon and color.

valuerequired
number | TranslatableString

Value displayed by the status bar item.

valueOnly
boolean false

Whether only the value is displayed.

Output Properties

NameTypeDescription
significanceChange
void

Emits when the value changes between an empty and non-empty state.

Types Documentation

import type { ExtendedStatusType } from '@siemens/element-ng/common';
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.

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.