Skip to content

SiTabPortalComponent documentation

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

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-tab heading="Overview" [active]="true">
    overview content
  </si-tab>
  <si-tab heading="History">
    history content
  </si-tab>
</si-tabset>

<si-tab-portal [tabset]="tabset" />

Input Properties

NameTypeDescription
tabsetrequired
SiTabsetComponent

Reference to the SiTabsetComponent whose active tab content this component renders via a DomPortal.

The tabset's tab panel container, including the role="tabpanel" element with proper ARIA attributes, is transported to this component's location.


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