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,63 +1,63 @@
|
|||
const SplitButtonProps = [
|
||||
{
|
||||
name: "label",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Text of the button."
|
||||
name: 'label',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Text of the button.'
|
||||
},
|
||||
{
|
||||
name: "icon",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Name of the icon."
|
||||
name: 'icon',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Name of the icon.'
|
||||
},
|
||||
{
|
||||
name: "model",
|
||||
type: "object",
|
||||
default: "null",
|
||||
description: "MenuModel instance to define the overlay items."
|
||||
name: 'model',
|
||||
type: 'object',
|
||||
default: 'null',
|
||||
description: 'MenuModel instance to define the overlay items.'
|
||||
},
|
||||
{
|
||||
name: "autoZIndex",
|
||||
type: "boolean",
|
||||
default: "true",
|
||||
description: "Whether to automatically manage layering."
|
||||
name: 'autoZIndex',
|
||||
type: 'boolean',
|
||||
default: 'true',
|
||||
description: 'Whether to automatically manage layering.'
|
||||
},
|
||||
{
|
||||
name: "baseZIndex",
|
||||
type: "number",
|
||||
default: "0",
|
||||
description: "Base zIndex value to use in layering."
|
||||
name: 'baseZIndex',
|
||||
type: 'number',
|
||||
default: '0',
|
||||
description: 'Base zIndex value to use in layering.'
|
||||
},
|
||||
{
|
||||
name: "appendTo",
|
||||
type: "string",
|
||||
default: "body",
|
||||
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached."
|
||||
name: 'appendTo',
|
||||
type: 'string',
|
||||
default: 'body',
|
||||
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached.'
|
||||
},
|
||||
{
|
||||
name: "class",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Style class of the component."
|
||||
name: 'class',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Style class of the component.'
|
||||
},
|
||||
{
|
||||
name: "style",
|
||||
type: "any",
|
||||
default: "null",
|
||||
description: "Inline of the component."
|
||||
name: 'style',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Inline of the component.'
|
||||
}
|
||||
];
|
||||
|
||||
const SplitButtonEvents = [
|
||||
{
|
||||
name: "click",
|
||||
description: "Callback to invoke when main button is clicked.",
|
||||
name: 'click',
|
||||
description: 'Callback to invoke when main button is clicked.',
|
||||
arguments: [
|
||||
{
|
||||
name: "event",
|
||||
type: "object",
|
||||
description: "Browser event"
|
||||
name: 'event',
|
||||
type: 'object',
|
||||
description: 'Browser event'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -65,8 +65,8 @@ const SplitButtonEvents = [
|
|||
|
||||
module.exports = {
|
||||
splitbutton: {
|
||||
name: "SplitButton",
|
||||
description: "SplitButton groups a set of commands in an overlay with a default command.",
|
||||
name: 'SplitButton',
|
||||
description: 'SplitButton groups a set of commands in an overlay with a default command.',
|
||||
props: SplitButtonProps,
|
||||
events: SplitButtonEvents
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue