Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
rox-checkbox
Advanced tools
--- subtitle: 多选框 group: Data Entry category: UI chinese: 复选框 type: UI组件 ---
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
checked | 是否选中,如果在group中需使用value设置是否选中 | boolean | |
disabled | 是否禁用 | boolean | false |
onChange | 状态改变时的回调函数 | function(checked,e) | |
type | 复选框类型 | string('normal','list') | normal |
defaultChecked | 默认选中状态 | boolean | false |
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
value | 当前选择的值 | array | [] |
onChange | 选中值发生改变后的回调 | function(value,e) | ()=>{} |
dataSource | 可选数据源,数据源的结构见demo | array | [] |
rx中只提供了一个简单的textinput,因为会触发键盘,因此需要使用view和image结合的方式实现。从外观表现和交互逻辑上,单个radio和checkbox的表现是完全一致的。两者仅有的区别在于批量使用时,radio需要做到互斥。
FAQs
--- subtitle: 多选框 group: Data Entry category: UI chinese: 复选框 type: UI组件 ---
The npm package rox-checkbox receives a total of 4 weekly downloads. As such, rox-checkbox popularity was classified as not popular.
We found that rox-checkbox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.