tabs/src/tab-list/tab-list.component.ts
Developer Preview – This component is in an early stage of development and may undergo breaking changes. Feedback welcome!
Tab List component acts as a container for multiple Tab components. It manages the selection and focus of the tabs.
Its selected input (supports two-way binding) is used to control which tab is currently selected. If not provided,
the first enabled tab will be selected by default.
import { TabListComponent } from '@talenra/components/tabs';| changeDetection | ChangeDetectionStrategy.OnPush |
| HostDirectives |
TabList
|
| selector | talenra-tab-list |
| templateUrl | ./tab-list.component.html |
| styleUrl | ./tab-list.component.scss |
Inputs |
Outputs |
| size |
Type : TTabListSize
|
Default value : TabListSize.M
|
|
Determines the size of the Tab List's child Tabs. Example : |
| tabWidth |
Type : TTabWidth
|
Default value : TabWidth.Strict
|
|
Determines how the Tab List's child Tabs are sized. In If there's sufficient horizontal space, |