2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* ToggleSwitch is used to select a boolean value.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/toggleswitch/)
|
|
|
|
*
|
|
|
|
* @module toggleswitchstyle
|
|
|
|
*
|
|
|
|
*/
|
2024-04-18 14:15:29 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum ToggleSwitchClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-toggleswitch',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the input element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
input = 'p-toggleswitch-input',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the slider element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
slider = 'p-toggleswitch-slider'
|
|
|
|
}
|
|
|
|
|
2024-04-18 14:15:29 +00:00
|
|
|
export interface ToggleSwitchStyle extends BaseStyle {}
|