2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* TabMenu is a navigation component that displays items as tab headers. Example below uses nested routes with TabMenu.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/tabmenu/)
|
|
|
|
*
|
|
|
|
* @module tabmenustyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum TabMenuClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-tabmenu',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the tablist element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
tablist = 'p-tabmenu-tablist',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
item = 'p-tabmenu-item',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item link element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
itemLink = 'p-tabmenu-item-link',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
itemIcon = 'p-tabmenu-item-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item label element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
itemLabel = 'p-tabmenu-item-label',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the inkbar element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
inkbar = 'p-tabmenu-ink-bar'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface TabMenuStyle extends BaseStyle {}
|