New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rox-checkbox

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-checkbox - npm Package Compare versions

Comparing version 0.0.33 to 0.0.34

2

package.json
{
"name": "rox-checkbox",
"version": "0.0.33",
"version": "0.0.34",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -0,6 +1,11 @@

---
subtitle: 多选框
group: Data Entry
category: UI
chinese: 复选框
type: UI组件
---
# rox-checkbox
- category: UI
- chinese: 复选框
- type: UI组件

@@ -15,7 +20,7 @@ ---

-----|-----|-----|------
checked | 是否选中,如果在group中需使用value设置是否选中 | boolean |
checked | 是否选中,如果在group中需使用value设置是否选中 | boolean |
disabled | 是否禁用 | boolean | false
onChange | 状态改变时的回调函数 | function(checked,e) |
type | 复选框类型 |string('normal','list')| normal |
defaultChecked | 默认选中状态 | boolean | false
defaultChecked | 默认选中状态 | boolean | false
### Checkbox.group

@@ -30,2 +35,2 @@

#### 设计思路
rx中只提供了一个简单的textinput,因为会触发键盘,因此需要使用view和image结合的方式实现。从外观表现和交互逻辑上,单个radio和checkbox的表现是完全一致的。两者仅有的区别在于批量使用时,radio需要做到互斥。
rx中只提供了一个简单的textinput,因为会触发键盘,因此需要使用view和image结合的方式实现。从外观表现和交互逻辑上,单个radio和checkbox的表现是完全一致的。两者仅有的区别在于批量使用时,radio需要做到互斥。
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc