2021-05-12 09:35:29 +00:00
|
|
|
const RadioButtonProps = [
|
|
|
|
{
|
|
|
|
name: "value",
|
|
|
|
type: "any",
|
|
|
|
default: "null",
|
|
|
|
description: "Value of the checkbox."
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "modelValue",
|
|
|
|
type: "any",
|
|
|
|
default: "null",
|
|
|
|
description: "Value binding of the checkbox."
|
2021-06-14 14:03:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "class",
|
|
|
|
type: "string",
|
|
|
|
default: "null",
|
|
|
|
description: "Style class of the component."
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "style",
|
|
|
|
type: "any",
|
|
|
|
default: "null",
|
|
|
|
description: "Inline of the component."
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
const RadioButtonEvents = [
|
|
|
|
{
|
|
|
|
name: "click",
|
|
|
|
description: "Callback to invoke on radio button click.",
|
|
|
|
arguments: [
|
|
|
|
{
|
|
|
|
name: "event",
|
|
|
|
type: "object",
|
|
|
|
description: "Browser event"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "change",
|
|
|
|
description: "Callback to invoke on radio button value change.",
|
|
|
|
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
|
|
|
}
|
|
|
|
};
|