2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Displays an image with preview and tranformation options. For multiple image, see Galleria.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/image/)
|
|
|
|
*
|
|
|
|
* @module imagestyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum ImageClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-image',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the preview mask element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
previewMask = 'p-image-preview-mask',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the preview icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
previewIcon = 'p-image-preview-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the mask element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
mask = 'p-image-mask',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the toolbar element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
toolbar = 'p-image-toolbar',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the rotate right button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rotateRightButton = 'p-image-rotate-right-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the rotate left button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rotateLeftButton = 'p-image-rotate-left-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the zoom out button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
zoomOutButton = 'p-image-zoom-out-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the zoom in button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
zoomInButton = 'p-image-zoom-in-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the close button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
closeButton = 'p-image-close-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the original element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
original = 'p-image-original'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface ImageStyle extends BaseStyle {}
|