A component that renders the active tab's content at a remote location in the DOM using an Angular CDK DomPortal .
This component automatically renders the content of the currently active si-tab , including the role="tabpanel" container with proper ARIA attributes linked to the active tab.
Example:
<si-tabset#tabset><si-tabheading="Overview"[active]="true">
overview content
</si-tab><si-tabheading="History">
history content
</si-tab></si-tabset><si-tab-portal[tabset]="tabset"/>
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.
Background color of the badge. If no color is provided a red dot badge will be rendered. badgeColor: InputSignal<(string | undefined)> from SiTabBaseDirective.badgeColor = ...¶
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 badgeContent: InputSignal<(boolean | TranslatableString | undefined)> from SiTabBaseDirective.badgeContent = ...¶
Icon of the tab item. If provided, heading text will be ignored and only icon will be displayed. icon: InputSignal<(string | undefined)> from SiTabBaseDirective.icon = ...¶
icons: Record<"elementCancel", string> from SiTabBaseDirective.icons = ...¶
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed. ngOnDestroy: () => void from SiTabBaseDirective.ngOnDestroy¶
Whether the tab is active or not. If set to true , the tab will be selected and its content will be displayed. active: ModelSignal<boolean> = false¶
Background color of the badge. If no color is provided a red dot badge will be rendered. badgeColor: InputSignal<(string | undefined)> from SiTabBaseDirective.badgeColor = ...¶
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 badgeContent: InputSignal<(boolean | TranslatableString | undefined)> from SiTabBaseDirective.badgeContent = ...¶
Icon of the tab item. If provided, heading text will be ignored and only icon will be displayed. icon: InputSignal<(string | undefined)> from SiTabBaseDirective.icon = ...¶
icons: Record<"elementCancel", string> from SiTabBaseDirective.icons = ...¶
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed. ngOnDestroy: () => void from SiTabBaseDirective.ngOnDestroy from OnDestroy.ngOnDestroy¶