feat(CollapseItem): add toggle method (#7281)

* feat(CollapseItem): add toggle method

* chore: update doc
This commit is contained in:
neverland
2020-09-29 20:49:22 +08:00
committed by GitHub
parent 053a68e40d
commit 8d2c4b1e46
38 changed files with 132 additions and 50 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ export default {
### Methods
Use [ref](https://vuejs.org/v2/api/#ref) to get SwipeCell instance and call instance methods
Use [ref](https://vuejs.org/v2/api/#ref) to get SwipeCell instance and call instance methods.
| Name | Description | Attribute | Return value |
| ----- | --------------- | ------------------------ | ------------ |
+1 -1
View File
@@ -141,7 +141,7 @@ beforeClose 的第一个参数为对象,对象中包含以下属性:
### 方法
通过 ref 可以获取到 SwipeCell 实例并调用实例方法,详见[组件实例方法](#/zh-CN/quickstart#zu-jian-shi-li-fang-fa)
通过 ref 可以获取到 SwipeCell 实例并调用实例方法,详见[组件实例方法](#/zh-CN/quickstart#zu-jian-shi-li-fang-fa)
| 方法名 | 说明 | 参数 | 返回值 |
| ------ | ---------------- | ------------------------ | ------ |