2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Drawer is a panel component displayed as an overlay at the edges of the screen.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://primevue.org/drawer)
|
|
|
|
*
|
|
|
|
* @module drawerstyle
|
|
|
|
*
|
|
|
|
*/
|
2024-04-18 14:19:35 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum DrawerClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the mask element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
mask = 'p-drawer-mask',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-drawer',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the header element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
header = 'p-drawer-header',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the title element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
title = 'p-drawer-title',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the close button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcCloseButton = 'p-drawer-close-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
content = 'p-drawer-content'
|
|
|
|
}
|
|
|
|
|
2024-04-18 14:19:35 +00:00
|
|
|
export interface DrawerStyle extends BaseStyle {}
|