2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Knob is a form component to define number inputs with a dial.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/knob/)
|
|
|
|
*
|
|
|
|
* @module knobstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum KnobClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-knob',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the range element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
range = 'p-knob-range',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the value element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
value = 'p-knob-value',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the text element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
text = 'p-knob-text'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface KnobStyle extends BaseStyle {}
|