update api-generator

This commit is contained in:
Tuğçe Küçükoğlu 2021-06-14 17:03:46 +03:00
parent 2a2c97703c
commit cb659b73ef
14 changed files with 233 additions and 31 deletions

View file

@ -10,6 +10,43 @@ const RadioButtonProps = [
type: "any",
default: "null",
description: "Value binding of the checkbox."
},
{
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"
}
]
}
];
@ -17,6 +54,7 @@ module.exports = {
radiobutton: {
name: "RadioButton",
description: "RadioButton is an extension to standard radio button element with theming.",
props: RadioButtonProps
props: RadioButtonProps,
events: RadioButtonEvents
}
};