mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #2801 - InputSwitch
This commit is contained in:
parent
45ef9b3c8e
commit
262187d843
4 changed files with 56 additions and 34 deletions
|
@ -5,18 +5,6 @@ const InputSwitchProps = [
|
|||
default: "null",
|
||||
description: "Specifies whether a inputswitch should be checked or not."
|
||||
},
|
||||
{
|
||||
name: "class",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Style class of the component."
|
||||
},
|
||||
{
|
||||
name: "style",
|
||||
type: "any",
|
||||
default: "null",
|
||||
description: "Inline of the component."
|
||||
},
|
||||
{
|
||||
name: "trueValue",
|
||||
type: "any",
|
||||
|
@ -28,7 +16,25 @@ const InputSwitchProps = [
|
|||
type: "any",
|
||||
default: "null",
|
||||
description: "Value in unchecked state."
|
||||
}
|
||||
},
|
||||
{
|
||||
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: "inputClass",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Style class of the input field."
|
||||
},
|
||||
];
|
||||
|
||||
const InputSwitchEvents = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue