2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Carousel is a content slider featuring various customization options.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/carousel/)
|
|
|
|
*
|
|
|
|
* @module carouselstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum CarouselClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-carousel',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the header element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
header = 'p-carousel-header',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the content container element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
contentContainer = 'p-carousel-content-container',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
content = 'p-carousel-content',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the previous button element
|
|
|
|
*/
|
2024-05-27 08:48:42 +00:00
|
|
|
pcPrevButton = 'p-carousel-prev-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the viewport element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
viewport = 'p-carousel-viewport',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item list element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
itemList = 'p-carousel-item-list',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item clone element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
itemClone = 'p-carousel-item-clone',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
item = 'p-carousel-item',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the next button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcNextButton = 'p-carousel-next-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the indicator list element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
indicatorList = 'p-carousel-indicator-list',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the indicator element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
indicator = 'p-carousel-indicator',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the indicator button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
indicatorButton = 'p-carousel-indicator-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the footer element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
footer = 'p-carousel-footer'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface CarouselStyle extends BaseStyle {}
|