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,67 +1,67 @@
|
|||
const InputSwitchProps = [
|
||||
{
|
||||
name: "modelValue",
|
||||
type: "boolean",
|
||||
default: "null",
|
||||
description: "Specifies whether a inputswitch should be checked or not."
|
||||
name: 'modelValue',
|
||||
type: 'boolean',
|
||||
default: 'null',
|
||||
description: 'Specifies whether a inputswitch should be checked or not.'
|
||||
},
|
||||
{
|
||||
name: "trueValue",
|
||||
type: "any",
|
||||
default: "null",
|
||||
description: "Value in checked state."
|
||||
name: 'trueValue',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Value in checked state.'
|
||||
},
|
||||
{
|
||||
name: "falseValue",
|
||||
type: "any",
|
||||
default: "null",
|
||||
description: "Value in unchecked state."
|
||||
name: 'falseValue',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Value in unchecked state.'
|
||||
},
|
||||
{
|
||||
name: "inputId",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Identifier of the underlying input element."
|
||||
name: 'inputId',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Identifier of the underlying input element.'
|
||||
},
|
||||
{
|
||||
name: "inputStyle",
|
||||
type: "any",
|
||||
default: "null",
|
||||
description: "Inline style of the input field."
|
||||
name: 'inputStyle',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Inline style of the input field.'
|
||||
},
|
||||
{
|
||||
name: "inputClass",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Style class of the input field."
|
||||
name: 'inputClass',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Style class of the input field.'
|
||||
},
|
||||
{
|
||||
name: "inputProps",
|
||||
type: "object",
|
||||
default: "null",
|
||||
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
|
||||
name: 'inputProps',
|
||||
type: 'object',
|
||||
default: 'null',
|
||||
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||
}
|
||||
];
|
||||
|
||||
const InputSwitchEvents = [
|
||||
{
|
||||
name: "click",
|
||||
description: "Callback to invoke on click."
|
||||
name: 'click',
|
||||
description: 'Callback to invoke on click.'
|
||||
},
|
||||
{
|
||||
name: "change",
|
||||
description: "Callback to invoke on value change."
|
||||
name: 'change',
|
||||
description: 'Callback to invoke on value change.'
|
||||
},
|
||||
{
|
||||
name: "input",
|
||||
description: "Callback to invoke on value change."
|
||||
name: 'input',
|
||||
description: 'Callback to invoke on value change.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
inputswitch: {
|
||||
name: "InputSwitch",
|
||||
description: "InputSwitch is used to select a boolean value.",
|
||||
name: 'InputSwitch',
|
||||
description: 'InputSwitch is used to select a boolean value.',
|
||||
props: InputSwitchProps,
|
||||
events: InputSwitchEvents
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue