primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
98 lines (97 loc) • 2.44 kB
TypeScript
import { BaseStyle } from 'primeng/base';
import * as i0 from "@angular/core";
export declare class TieredMenuStyle extends BaseStyle {
name: string;
theme: ({ dt }: {
dt: any;
}) => string;
classes: {
root: ({ instance, props }: {
instance: any;
props: any;
}) => (string | {
'p-tieredmenu-overlay': any;
})[];
start: string;
rootList: string;
item: ({ instance, processedItem }: {
instance: any;
processedItem: any;
}) => (string | {
'p-tieredmenu-item-active': any;
'p-focus': any;
'p-disabled': any;
})[];
itemContent: string;
itemLink: string;
itemIcon: string;
itemLabel: string;
submenuIcon: string;
submenu: string;
separator: string;
end: string;
};
static ɵfac: i0.ɵɵFactoryDeclaration<TieredMenuStyle, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TieredMenuStyle>;
}
/**
*
* TieredMenu displays submenus in nested overlays.
*
* [Live Demo](https://www.primeng.org/menu/)
*
* @module tieredmenustyle
*
*/
export declare enum TieredMenuClasses {
/**
* Class name of the root element
*/
root = "p-tieredmenu",
/**
* Class name of the start element
*/
start = "p-tieredmenu-start",
/**
* Class name of the root list element
*/
rootList = "p-tieredmenu-root-list",
/**
* Class name of the item element
*/
item = "p-tieredmenu-item",
/**
* Class name of the item content element
*/
itemContent = "p-tieredmenu-item-content",
/**
* Class name of the item link element
*/
itemLink = "p-tieredmenu-item-link",
/**
* Class name of the item icon element
*/
itemIcon = "p-tieredmenu-item-icon",
/**
* Class name of the item label element
*/
itemLabel = "p-tieredmenu-item-label",
/**
* Class name of the submenu icon element
*/
submenuIcon = "p-tieredmenu-submenu-icon",
/**
* Class name of the submenu element
*/
submenu = "p-tieredmenu-submenu",
/**
* Class name of the separator element
*/
separator = "p-tieredmenu-separator",
/**
* Class name of the end element
*/
end = "p-tieredmenu-end"
}
export interface TieredMenuStyle extends BaseStyle {
}