mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
update api-generator
This commit is contained in:
parent
2a2c97703c
commit
cb659b73ef
14 changed files with 233 additions and 31 deletions
|
@ -4,6 +4,29 @@ const InputSwitchProps = [
|
|||
type: "boolean",
|
||||
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."
|
||||
}
|
||||
];
|
||||
|
||||
const InputSwitchEvents = [
|
||||
{
|
||||
name: "click",
|
||||
description: "Callback to invoke on click."
|
||||
},
|
||||
{
|
||||
name: "change",
|
||||
description: "Callback to invoke on value change."
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -11,6 +34,7 @@ module.exports = {
|
|||
inputswitch: {
|
||||
name: "InputSwitch",
|
||||
description: "InputSwitch is used to select a boolean value.",
|
||||
props: InputSwitchProps
|
||||
props: InputSwitchProps,
|
||||
events: InputSwitchEvents
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue