SiTabLinkComponent documentation¶
import { SiTabLinkComponent } from '@siemens/element-ng/tabs';Creates a tab that uses the Angular router.
Example:
<si-tabset>
<a si-tab routerLink="/home" heading="Home"></a>
<router-outlet />
</si-tabset>
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| badgeColorinherited ¶ | string | undefined | Background color of the badge. If no color is provided a red dot badge will be rendered. Inherited from | |
| badgeContentinherited ¶ | boolean | TranslatableString | undefined | Additional badge content. A value of • • any string without a • any string with a Inherited from | |
| closableinherited ¶ | boolean | false | Close the current tab. Inherited from |
| disabledinherited ¶ | boolean | false | Disables the tab. Inherited from |
| headingrequiredinherited ¶ | TranslatableString | Title of the tab item. Inherited from | |
| iconinherited ¶ | string | undefined | Icon of the tab item. If provided, heading text will be ignored and only icon will be displayed. Inherited from |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| closeTriggeredinherited ¶ | void | Event emitter to notify when a tab is closed. Inherited from |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| (readonly) active ¶ | Signal<boolean | undefined> | false | Inherited from |
| selectTab() ¶ | {@inheritDoc} Inherited from Parameters |
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.