@xsyx/hanzo-button
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -59,3 +59,4 @@ Component({ | ||
sendMessageImg: String, | ||
showMessageCard: Boolean | ||
showMessageCard: Boolean, | ||
noMargin: Boolean | ||
}, | ||
@@ -62,0 +63,0 @@ |
{ | ||
"name": "@xsyx/hanzo-button", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "按钮组件", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
### 按钮 | ||
### changelog | ||
#### v0.1.1 | ||
- 新增 noMargin 接口,去掉边距 | ||
#### v0.1.0 | ||
- 组件初始化 | ||
#### 适用场景 | ||
> | ||
> 各个按钮 | ||
@@ -13,13 +23,14 @@ #### 基本调用 | ||
| :--: | :-------: | :----: | :----: | :----: | :----: | | ||
| type | 按钮类型 | String | primary,warn,info,error,success,outline | | - | | ||
| inline | 是否为行内元素 | Boolean | | false | - | | ||
| size | 按钮大小 | String | large, small | | - | | ||
| shape | 按钮形状 | String | circle,square | circle | - | | ||
| disabled | 禁用状态 | Boolean | | false | - | | ||
| loading | 是否加载中 | Boolean | | false | - | | ||
| open-type | 微信开放能力 | String | | - | - | | ||
| type | 按钮类型 | String | primary,warn,info,error,success,outline | | v0.1.0 | | ||
| inline | 是否为行内元素 | Boolean | | false | v0.1.0 | | ||
| size | 按钮大小 | String | large, small | | v0.1.0 | | ||
| shape | 按钮形状 | String | circle,square | circle | v0.1.0 | | ||
| disabled | 禁用状态 | Boolean | | false | v0.1.0 | | ||
| loading | 是否加载中 | Boolean | | false | v0.1.0 | | ||
| open-type | 微信开放能力 | String | | - | v0.1.0 | | ||
| noMargin | 是否有边距 | Boolean | | - | v0.1.1 | | ||
#### 事件 event | ||
| 名称 | 参数 | 说明 | 备注 | | ||
| ------------- |:-------------:| :--------------------| :---------------| | ||
| ------------- |:-------------:| :--------------------| :---------------| | ||
| onTap | | 按钮在可用状态被点击时触发 | | | ||
@@ -26,0 +37,0 @@ | onGetUserInfo | | 用户点击该按钮时,会返回获取到的用户信息 | | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10739
7
82
43