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¶
| Name | Type | Description |
|---|---|---|
| tabset required ¶ | SiTabsetComponent | Reference to the SiTabsetComponent whose active tab content this component renders via a The tabset's tab panel container, including the |
Except where otherwise noted, content on this site is licensed under MIT License.