mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Lint changes
This commit is contained in:
parent
eb2de5460c
commit
4d3a071e66
291 changed files with 28450 additions and 26621 deletions
|
@ -1,50 +1,50 @@
|
|||
const SplitterProps = [
|
||||
{
|
||||
name: "layout",
|
||||
type: "string",
|
||||
default: "horizontal",
|
||||
name: 'layout',
|
||||
type: 'string',
|
||||
default: 'horizontal',
|
||||
description: 'Orientation of the panels, valid values are "horizontal" and "vertical".'
|
||||
},
|
||||
{
|
||||
name: "gutterSize",
|
||||
type: "number",
|
||||
default: "4",
|
||||
description: "Size of the divider in pixels."
|
||||
name: 'gutterSize',
|
||||
type: 'number',
|
||||
default: '4',
|
||||
description: 'Size of the divider in pixels.'
|
||||
},
|
||||
{
|
||||
name: "stateKey",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Storage identifier of a stateful Splitter."
|
||||
name: 'stateKey',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Storage identifier of a stateful Splitter.'
|
||||
},
|
||||
{
|
||||
name: "stateStorage",
|
||||
type: "string",
|
||||
default: "storage",
|
||||
name: 'stateStorage',
|
||||
type: 'string',
|
||||
default: 'storage',
|
||||
description: 'Defines where a stateful splitter keeps its state, valid values are "session" for sessionStorage and "local" for localStorage.'
|
||||
},
|
||||
{
|
||||
name: "step",
|
||||
type: "number",
|
||||
default: "5",
|
||||
description: "Step factor to increment/decrement the size of the panels while pressing the arrow keys."
|
||||
name: 'step',
|
||||
type: 'number',
|
||||
default: '5',
|
||||
description: 'Step factor to increment/decrement the size of the panels while pressing the arrow keys.'
|
||||
}
|
||||
];
|
||||
|
||||
const SplitterEvents = [
|
||||
{
|
||||
name: "resizened",
|
||||
description: "Callback to invoke when resize ends.",
|
||||
name: 'resizened',
|
||||
description: 'Callback to invoke when resize ends.',
|
||||
arguments: [
|
||||
{
|
||||
name: "event.originalEvent",
|
||||
type: "object",
|
||||
description: "Browser event"
|
||||
name: 'event.originalEvent',
|
||||
type: 'object',
|
||||
description: 'Browser event'
|
||||
},
|
||||
{
|
||||
name: "event.sizes",
|
||||
type: "array",
|
||||
description: "Sizes of the panels as an array"
|
||||
name: 'event.sizes',
|
||||
type: 'array',
|
||||
description: 'Sizes of the panels as an array'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -52,8 +52,8 @@ const SplitterEvents = [
|
|||
|
||||
module.exports = {
|
||||
splitter: {
|
||||
name: "Splitter",
|
||||
description: "Splitter is utilized to separate and resize panels",
|
||||
name: 'Splitter',
|
||||
description: 'Splitter is utilized to separate and resize panels',
|
||||
props: SplitterProps,
|
||||
events: SplitterEvents
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue