2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* TieredMenu displays submenus in nested overlays.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/menu/)
|
|
|
|
*
|
|
|
|
* @module tieredmenustyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum TieredMenuClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-tieredmenu',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the start element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
start = 'p-tieredmenu-start',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root list element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rootList = 'p-tieredmenu-root-list',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
item = 'p-tieredmenu-item',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
itemContent = 'p-tieredmenu-item-content',
|
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-tieredmenu-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-tieredmenu-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-tieredmenu-item-label',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the submenu icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
submenuIcon = 'p-tieredmenu-submenu-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the submenu element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
submenu = 'p-tieredmenu-submenu',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the separator element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
separator = 'p-tieredmenu-separator',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the end element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
end = 'p-tieredmenu-end'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface TieredMenuStyle extends BaseStyle {}
|