|
2 lat temu | |
---|---|---|
.. | ||
demo | 2 lat temu | |
res | 2 lat temu | |
README.md | 2 lat temu | |
group.js | 2 lat temu | |
index.js | 2 lat temu |
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
checked |
指定当前是否选中 | bool |
false |
size |
选框大小 | num |
20 |
onchange |
Click to return to check whether(return true | false) | |
label |
CheckBox after the content | `String | |
labelStyle |
label style | boolean |
- |
checkBoxColor |
checkBox color | string |
brandColor |
isRight |
Whether the content location is on the right | bool |
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
isRight |
文本内容的位置是否在右边 | bool |
false |
size |
多选框大小 | num |
20 |
checkBoxColor |
多选框颜色 | string |
- |
checkKey |
多选框是否被选中的 key 值,比如,每行中选中的 isChecked:true,未选中为 isChecked:false | string |
必须有值 |
renderLabel |
文本内容,格式:renderLabel={data => this.renderLabel(data)};其中 data 是每行的 data | func |
- |
CheckboxData |
需要遍历的数据 | arr |
- |