primevue-mirror/api-generator/components/radiobutton.js

76 lines
1.7 KiB
JavaScript
Raw Normal View History

2021-05-12 09:35:29 +00:00
const RadioButtonProps = [
{
name: "value",
type: "any",
default: "null",
description: "Value of the checkbox."
2022-08-22 13:47:07 +00:00
}
];
const RadioButtonEvents = [
2022-08-08 14:02:07 +00:00
{
2022-08-22 13:47:07 +00:00
name: "change",
description: "Callback to invoke on value change.",
arguments: [
{
name: "event",
type: "object",
description: "Browser event"
}
]
2022-08-08 14:02:07 +00:00
},
{
2022-08-22 13:47:07 +00:00
name: "input",
description: "Callback to invoke on value change.",
arguments: [
{
name: "event",
type: "object",
description: "Value of checkbox"
}
]
2022-08-08 14:02:07 +00:00
},
{
2022-08-22 13:47:07 +00:00
name: "click",
description: "Callback to invoke click.",
arguments: [
{
name: "event",
type: "object",
description: "Browser event"
}
]
2022-08-08 14:02:07 +00:00
},
{
2022-08-22 13:47:07 +00:00
name: "focus",
description: "Callback to invoke on focus.",
2021-06-14 14:03:46 +00:00
arguments: [
{
name: "event",
type: "object",
description: "Browser event"
}
]
},
{
2022-08-22 13:47:07 +00:00
name: "blur",
description: "Callback to invoke on blur.",
2021-06-14 14:03:46 +00:00
arguments: [
{
name: "event",
type: "object",
description: "Browser event"
}
]
2021-05-12 09:35:29 +00:00
}
];
module.exports = {
radiobutton: {
name: "RadioButton",
description: "RadioButton is an extension to standard radio button element with theming.",
2021-06-14 14:03:46 +00:00
props: RadioButtonProps,
events: RadioButtonEvents
2021-05-12 09:35:29 +00:00
}
};