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,44 +1,44 @@
|
|||
const PanelProps = [
|
||||
{
|
||||
name: "header",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Header text of the panel."
|
||||
name: 'header',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Header text of the panel.'
|
||||
},
|
||||
{
|
||||
name: "toggleable",
|
||||
type: "boolean",
|
||||
default: "null",
|
||||
description: "Defines if content of panel can be expanded and collapsed."
|
||||
name: 'toggleable',
|
||||
type: 'boolean',
|
||||
default: 'null',
|
||||
description: 'Defines if content of panel can be expanded and collapsed.'
|
||||
},
|
||||
{
|
||||
name: "collapsed",
|
||||
type: "boolean",
|
||||
default: "null",
|
||||
description: "Defines the initial state of panel content."
|
||||
name: 'collapsed',
|
||||
type: 'boolean',
|
||||
default: 'null',
|
||||
description: 'Defines the initial state of panel content.'
|
||||
},
|
||||
{
|
||||
name: "toggleButtonProps",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Uses to pass the custom value to read for the anchor inside the component."
|
||||
name: 'toggleButtonProps',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Uses to pass the custom value to read for the anchor inside the component.'
|
||||
}
|
||||
];
|
||||
|
||||
const PanelEvents = [
|
||||
{
|
||||
name: "toggle",
|
||||
description: "Callback to invoke when a tab toggle.",
|
||||
name: 'toggle',
|
||||
description: 'Callback to invoke when a tab toggle.',
|
||||
arguments: [
|
||||
{
|
||||
name: "event.originalEvent",
|
||||
type: "object",
|
||||
description: "Browser event"
|
||||
name: 'event.originalEvent',
|
||||
type: 'object',
|
||||
description: 'Browser event'
|
||||
},
|
||||
{
|
||||
name: "event.value",
|
||||
type: "boolean",
|
||||
description: "collapsed state as a boolean"
|
||||
name: 'event.value',
|
||||
type: 'boolean',
|
||||
description: 'collapsed state as a boolean'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -46,19 +46,19 @@ const PanelEvents = [
|
|||
|
||||
const PanelSlots = [
|
||||
{
|
||||
name: "header",
|
||||
name: 'header',
|
||||
description: "Custom content for the component's header"
|
||||
},
|
||||
{
|
||||
name: "icons",
|
||||
name: 'icons',
|
||||
description: "Custom content for the header's icon"
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
panel: {
|
||||
name: "Panel",
|
||||
description: "Panel is a container with the optional content toggle feature.",
|
||||
name: 'Panel',
|
||||
description: 'Panel is a container with the optional content toggle feature.',
|
||||
props: PanelProps,
|
||||
events: PanelEvents,
|
||||
slots: PanelSlots
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue