primevue-mirror/components/lib/image/style/ImageStyle.d.ts

60 lines
1.4 KiB
TypeScript
Raw Normal View History

/**
*
* 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';
export enum ImageClasses {
2024-05-22 13:52:02 +00:00
/**
* Class name of the root element
*/
root = 'p-image',
2024-05-22 13:52:02 +00:00
/**
* Class name of the preview mask element
*/
previewMask = 'p-image-preview-mask',
2024-05-22 13:52:02 +00:00
/**
* Class name of the preview icon element
*/
previewIcon = 'p-image-preview-icon',
2024-05-22 13:52:02 +00:00
/**
* Class name of the mask element
*/
mask = 'p-image-mask',
2024-05-22 13:52:02 +00:00
/**
* Class name of the toolbar element
*/
toolbar = 'p-image-toolbar',
2024-05-22 13:52:02 +00:00
/**
* Class name of the rotate right button element
*/
rotateRightButton = 'p-image-rotate-right-button',
2024-05-22 13:52:02 +00:00
/**
* Class name of the rotate left button element
*/
rotateLeftButton = 'p-image-rotate-left-button',
2024-05-22 13:52:02 +00:00
/**
* Class name of the zoom out button element
*/
zoomOutButton = 'p-image-zoom-out-button',
2024-05-22 13:52:02 +00:00
/**
* Class name of the zoom in button element
*/
zoomInButton = 'p-image-zoom-in-button',
2024-05-22 13:52:02 +00:00
/**
* Class name of the close button element
*/
closeButton = 'p-image-close-button',
2024-05-22 13:52:02 +00:00
/**
* Class name of the original element
*/
original = 'p-image-original'
}
2023-10-02 13:15:41 +00:00
export interface ImageStyle extends BaseStyle {}