A TabPanel container for the resources of layered content associated with a tab.
element
HTMLElementA reference to the host element.
id
anyA global unique identifier for the tab.
value
anyA local unique identifier for the tabpanel.
visible
anyWhether the tab panel is visible.
ngOnInit
void@returns
voidngOnDestroy
void@returns
voidDescription
A TabPanel container for the resources of layered content associated with a tab.
The ngTabPanel directive holds the content for a specific tab. It is linked to an
ngTab by a matching value. If a tab panel is hidden, the inert attribute will be
applied to remove it from the accessibility tree. Proper styling is required for visual hiding.
<div ngTabPanel value="myTabId"> <ng-template ngTabContent> <!-- Content for the tab panel --> </ng-template></div>
Jump to details