Fixed #1471 - Add input, focus, blur events for Checkbox

This commit is contained in:
Cagatay Civici 2021-08-25 09:58:21 +03:00
parent 53a69ebd72
commit a1cf1d4277
4 changed files with 37 additions and 19 deletions

View file

@ -45,26 +45,24 @@ const CheckboxProps = [
const CheckboxEvents = [
{
"name": "click",
"description": "Callback to invoke on value click.",
arguments: [
{
name: "event",
type: "object",
description: "Browser event"
}
]
name: "click",
description: "Callback to invoke on value click.",
},
{
"name": "change",
"description": "Callback to invoke on value change.",
arguments: [
{
name: "event",
type: "object",
description: "Browser event"
}
]
name: "change",
description: "Callback to invoke on value change.",
},
{
name: "input",
description: "Callback to invoke on value change."
},
{
name: "focus",
description: "Callback to invoke when element receives focus."
},
{
name: "blur",
description: "Callback to invoke when element loses focus."
}
];