2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Button is an extension to standard button element with icons and theming.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/button/)
|
|
|
|
*
|
|
|
|
* @module buttonstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum ButtonClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the loading icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
loadingIcon = 'p-button-loading-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
icon = 'p-button-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the label element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
label = 'p-button-label'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface ButtonStyle extends BaseStyle {}
|