Merge branch '2.x' into dev

This commit is contained in:
chenjiahan
2020-12-14 17:07:29 +08:00
11 changed files with 29 additions and 25 deletions
+4 -4
View File
@@ -136,10 +136,10 @@ export default {
Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get SwipeCell instance and call instance methods.
| Name | Description | Attribute | Return value |
| ----- | --------------- | --------------- | ------------ | --- |
| open | open SwipeCell | position: `left | right` | - |
| close | close SwipeCell | - | - |
| Name | Description | Attribute | Return value |
| ----- | --------------- | ------------------------- | ------------ |
| open | open SwipeCell | position: `left \| right` | - |
| close | close SwipeCell | - | - |
### Less Variables
+4 -4
View File
@@ -148,10 +148,10 @@ beforeClose 的第一个参数为对象,对象中包含以下属性:
通过 ref 可以获取到 SwipeCell 实例并调用实例方法,详见[组件实例方法](#/zh-CN/advanced-usage#zu-jian-shi-li-fang-fa)。
| 方法名 | 说明 | 参数 | 返回值 |
| ------ | ---------------- | --------------- | ------ | --- |
| open | 打开单元格侧边栏 | position: `left | right` | - |
| close | 收起单元格侧边栏 | - | - |
| 方法名 | 说明 | 参数 | 返回值 |
| ------ | ---------------- | ------------------------- | ------ |
| open | 打开单元格侧边栏 | position: `left \| right` | - |
| close | 收起单元格侧边栏 | - | - |
### 样式变量