diff --git a/components/checkbox/index.en-US.md b/components/checkbox/index.en-US.md index 863c4d935..8bdefd545 100644 --- a/components/checkbox/index.en-US.md +++ b/components/checkbox/index.en-US.md @@ -8,7 +8,11 @@ | checked | Specifies whether the checkbox is selected. | boolean | false | | defaultChecked | Specifies the initial state: whether or not the checkbox is selected. | boolean | false | | disabled | Disable checkbox | boolean | false | -| onChange | The callback function that is triggered when the state changes. | Function(e:Event) | - | + +### events +| Events Name | Description | Arguments | +| --- | --- | --- | +| change | The callback function that is triggered when the state changes. | Function(e:Event) | ### Checkbox Group @@ -18,7 +22,11 @@ | disabled | Disable all checkboxes | boolean | false | | options | Specifies options | string\[] | \[] | | value | Used for setting the currently selected value. | string\[] | \[] | -| onChange | The callback function that is triggered when the state changes. | Function(checkedValue) | - | + +### events +| Events Name | Description | Arguments | +| --- | --- | --- | +| change | The callback function that is triggered when the state changes. | Function(checkedValue) | ## Methods diff --git a/components/checkbox/index.zh-CN.md b/components/checkbox/index.zh-CN.md index 03e2d4aed..7d1a84963 100644 --- a/components/checkbox/index.zh-CN.md +++ b/components/checkbox/index.zh-CN.md @@ -8,7 +8,13 @@ | checked | 指定当前是否选中 | boolean | false | | defaultChecked | 初始是否选中 | boolean | false | | indeterminate | 设置 indeterminate 状态,只负责样式控制 | boolean | false | -| onChange | 变化时回调函数 | Function(e:Event) | - | + + +### 事件 +| 事件名称 | 说明 | 回调参数 | +| --- | --- | --- | +| change | 变化时回调函数 | Function(e:Event) | - | + ### Checkbox Group @@ -19,6 +25,11 @@ | value | 指定选中的选项 | string\[] | \[] | | onChange | 变化时回调函数 | Function(checkedValue) | - | +### 事件 +| 事件名称 | 说明 | 回调参数 | +| --- | --- | --- | +| change | 变化时回调函数 | Function(checkedValue) | - | + ## 方法 ### Checkbox