NgDocTabGroupComponent
Tabs as a segmented control over one panel. It follows the WAI-ARIA tabs pattern: the arrow keys, Home and End move between the tabs and select them. The highlight of the open tab slides to the newly opened one.
- Decorators
@Component - Selectors
ng-doc-tab-group - Generic types
T
DeclarationTypeScript
@Component ({ … })
export class NgDocTabGroupComponent <T = number> { … }Members
Properties6 | |||||||
idPrefix: string | Prefix of the ids that tie the tabs to the panel. | ||||||
openedTab: | Id of the tab to open; the first tab opens when it is not set or matches no tab. | ||||||
selectedIndex: | Index of the open tab, or -1. | ||||||
selectedTab: | The open tab. It follows | ||||||
tabElements: | Header buttons of the tabs, in order. | ||||||
tabs: | The tabs of the group. | ||||||
Methods2 | |||||||
(…): void | Moves the selection with the keyboard and focuses the new tab. | ||||||
Signature Parameters
Returns void | |||||||
(…): void | Opens a tab. | ||||||
Signature Parameters
Returns void | |||||||
No members match.