2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* InputNumber is an input component to provide numerical input.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/inputnumber/)
|
|
|
|
*
|
|
|
|
* @module inputnumberstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum InputNumberClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-inputnumber',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the input element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcInput = 'p-inputnumber-input',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the button group element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
buttonGroup = 'p-inputnumber-button-group',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the increment button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
incrementButton = 'p-inputnumber-increment-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the decrement button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
decrementButton = 'p-inputnumber-decrement-button'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface InputNumberStyle extends BaseStyle {}
|