Merge branch '2.x' into dev
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 | 收起单元格侧边栏 | - | - |
|
||||
|
||||
### 样式变量
|
||||
|
||||
|
||||
Reference in New Issue
Block a user