mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Lint changes
This commit is contained in:
parent
eb2de5460c
commit
4d3a071e66
291 changed files with 28450 additions and 26621 deletions
|
@ -1,38 +1,38 @@
|
|||
const ImageProps = [
|
||||
{
|
||||
name: "preview",
|
||||
type: "boolean",
|
||||
default: "false",
|
||||
description: "Controls the preview functionality."
|
||||
name: 'preview',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'Controls the preview functionality.'
|
||||
}
|
||||
];
|
||||
|
||||
const ImageEvents = [
|
||||
{
|
||||
name: "show",
|
||||
description: "Triggered when the preview overlay is shown."
|
||||
name: 'show',
|
||||
description: 'Triggered when the preview overlay is shown.'
|
||||
},
|
||||
{
|
||||
name: "hide",
|
||||
description: "Triggered when the preview overlay is hidden."
|
||||
name: 'hide',
|
||||
description: 'Triggered when the preview overlay is hidden.'
|
||||
},
|
||||
{
|
||||
name: "error",
|
||||
description: "Triggered when an error occurs while loading an image file."
|
||||
name: 'error',
|
||||
description: 'Triggered when an error occurs while loading an image file.'
|
||||
}
|
||||
];
|
||||
|
||||
const ImageSlots = [
|
||||
{
|
||||
name: "indicator",
|
||||
description: "Custom content for the preview indicator"
|
||||
name: 'indicator',
|
||||
description: 'Custom content for the preview indicator'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
image: {
|
||||
name: "Image",
|
||||
description: "Displays an image with preview and tranformation options.",
|
||||
name: 'Image',
|
||||
description: 'Displays an image with preview and tranformation options.',
|
||||
props: ImageProps,
|
||||
events: ImageEvents,
|
||||
slots: ImageSlots
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue