Skip to content

SiTabLegacyComponent documentation

import { SiTabLegacyComponent } from '@siemens/element-ng/tabs-legacy';

Deprecated: Use the new components from @siemens/element-ng/tabs instead. See https://element.siemens.io/components/layout-navigation/tabs/#code for usage instructions.

Input Properties

NameTypeDefaultDescription
badgeColoroptional
string

Background color of the badge. If no color is provided a red dot badge will be rendered.

badgeContentoptional
boolean | TranslatableString

Additional badge content. A value of

• true will render a red dot

• any string without a badgeColor will render a red dot with text

• any string with a badgeColor will render a normal badge

closableoptional
boolean false

Close the current tab.

disabled
boolean false

Disables the tab.

headingoptional
TranslatableString

Title of the tab item.

iconoptional
string

Icon of the tab item.

iconAltTextoptional
TranslatableString

Alternative name or translation key for icon. Used for A11y.

Output Properties

NameTypeDescription
closeTriggered
SiTabLegacyComponent

Event emitter to notify when a tab is closed.

Types Documentation

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.


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