A TabList container.
element
HTMLElementA reference to the host element.
textDirection
anyText direction.
orientation
anyWhether the tablist is vertically or horizontally oriented.
wrap
anyWhether focus should wrap when navigating.
softDisabled
anyWhether to allow disabled items to receive focus. When true, disabled items are
focusable but not interactive. When false, disabled items are skipped during navigation.
focusMode
anyThe focus strategy used by the tablist.
roving: Focus is moved to the active tab usingtabindex.activedescendant: Focus remains on the tablist container, andaria-activedescendantis used to indicate the active tab.
selectionMode
anyThe selection strategy used by the tablist.
follow: The focused tab is automatically selected.explicit: Tabs are selected explicitly by the user (e.g., via click or spacebar).
selectedTab
anyThe current selected tab.
disabled
anyWhether the tablist is disabled.
ngOnInit
void@returns
voidngOnDestroy
void@returns
voidopen
booleanOpens the tab panel with the specified value.
@paramvalue
string@returns
booleanDescription
A TabList container.
The ngTabList directive controls a list of ngTab elements. It manages keyboard
navigation, selection, and the overall orientation of the tabs. It should be placed
within an ngTabs container.
<ul ngTabList [(selectedTab)]="mySelectedTab" orientation="horizontal" selectionMode="explicit"> <li ngTab value="first">First Tab</li> <li ngTab value="second">Second Tab</li></ul>
Jump to details