File tree 2 files changed +22
-3
lines changed
2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 8
8
| checked | Specifies whether the checkbox is selected. | boolean | false |
9
9
| defaultChecked | Specifies the initial state: whether or not the checkbox is selected. | boolean | false |
10
10
| disabled | Disable checkbox | boolean | false |
11
- | onChange | The callback function that is triggered when the state changes. | Function(e: Event ) | - |
11
+
12
+ ### events
13
+ | Events Name | Description | Arguments |
14
+ | --- | --- | --- |
15
+ | change | The callback function that is triggered when the state changes. | Function(e: Event ) |
12
16
13
17
### Checkbox Group
14
18
18
22
| disabled | Disable all checkboxes | boolean | false |
19
23
| options | Specifies options | string\[ ] | \[ ] |
20
24
| value | Used for setting the currently selected value. | string\[ ] | \[ ] |
21
- | onChange | The callback function that is triggered when the state changes. | Function(checkedValue) | - |
25
+
26
+ ### events
27
+ | Events Name | Description | Arguments |
28
+ | --- | --- | --- |
29
+ | change | The callback function that is triggered when the state changes. | Function(checkedValue) |
22
30
23
31
## Methods
24
32
Original file line number Diff line number Diff line change 8
8
| checked | 指定当前是否选中 | boolean | false |
9
9
| defaultChecked | 初始是否选中 | boolean | false |
10
10
| indeterminate | 设置 indeterminate 状态,只负责样式控制 | boolean | false |
11
- | onChange | 变化时回调函数 | Function(e: Event ) | - |
11
+
12
+
13
+ ### 事件
14
+ | 事件名称 | 说明 | 回调参数 |
15
+ | --- | --- | --- |
16
+ | change | 变化时回调函数 | Function(e: Event ) | - |
17
+
12
18
13
19
### Checkbox Group
14
20
19
25
| value | 指定选中的选项 | string\[ ] | \[ ] |
20
26
| onChange | 变化时回调函数 | Function(checkedValue) | - |
21
27
28
+ ### 事件
29
+ | 事件名称 | 说明 | 回调参数 |
30
+ | --- | --- | --- |
31
+ | change | 变化时回调函数 | Function(checkedValue) | - |
32
+
22
33
## 方法
23
34
24
35
### Checkbox
You can’t perform that action at this time.
0 commit comments