mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
update api-generator
This commit is contained in:
parent
2a2c97703c
commit
cb659b73ef
14 changed files with 233 additions and 31 deletions
|
@ -16,6 +16,43 @@ const CheckboxProps = [
|
|||
type: "boolean",
|
||||
default: "false",
|
||||
description: "Allows to select a boolean value instead of multiple values."
|
||||
},
|
||||
{
|
||||
name: "class",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Style class of the component."
|
||||
},
|
||||
{
|
||||
name: "style",
|
||||
type: "any",
|
||||
default: "null",
|
||||
description: "Inline of the component."
|
||||
}
|
||||
];
|
||||
|
||||
const CheckboxEvents = [
|
||||
{
|
||||
"name": "click",
|
||||
"description": "Callback to invoke on value click.",
|
||||
arguments: [
|
||||
{
|
||||
name: "event",
|
||||
type: "object",
|
||||
description: "Browser event"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "change",
|
||||
"description": "Callback to invoke on value change.",
|
||||
arguments: [
|
||||
{
|
||||
name: "event",
|
||||
type: "object",
|
||||
description: "Browser event"
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -23,6 +60,7 @@ module.exports = {
|
|||
checkbox: {
|
||||
name: "Checkbox",
|
||||
description: "Checkbox is an extension to standard checkbox element with theming.",
|
||||
props: CheckboxProps
|
||||
props: CheckboxProps,
|
||||
events: CheckboxEvents
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue