Skip to content

Commit

Permalink
docs(swipe): update
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Jul 14, 2023
1 parent 3e1c394 commit 6688911
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions src/packages/__VUE/swipe/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ app.use(Swipe);
### Events
| Event | Description | Arguments |
| ----- | ---------------------------------------------------- | ----------------------- | --------- |
| open | Emitted when Swipe is opened, swipe left/swipe right | `name, position: 'left' | 'right' ` |
| close | Emitted when Swipe is closed, swipe left/swipe right | `name, position: 'left' | 'right' ` |
| Event | Description | Arguments |
| ----- | ---------------------------------------------------- | ------------------------------------ |
| open | Emitted when Swipe is opened, swipe left/swipe right | `name, position: 'left' \| 'right' ` |
| close | Emitted when Swipe is closed, swipe left/swipe right | `name, position: 'left' \| 'right' ` |
### Slots
Expand All @@ -179,7 +179,7 @@ app.use(Swipe);
Use [ref](https://vuejs.org/guide/essentials/template-refs.html) to get Swipe instance and call instance methods.
| Name | Description | Arguments |
| ----- | ----------------------------------- | ----------------------- | --------- |
| open | open swipe, swipe left/swipe right | `name, position: 'left' | 'right' ` |
| close | close swipe, swipe left/swipe right | `name, position: 'left' | 'right' ` |
| Name | Description | Arguments |
| ----- | ----------------------------------- | ------------------------------------ |
| open | open swipe, swipe left/swipe right | `name, position: 'left' \| 'right' ` |
| close | close swipe, swipe left/swipe right | `name, position: 'left' \| 'right' ` |
16 changes: 8 additions & 8 deletions src/packages/__VUE/swipe/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ app.use(Swipe);
### Events
| 事件名 | 说明 | 回调参数 |
| ------ | ----------------------------------------- | ----------------------- | --------- |
| open | 滑动时触发,left 指向左滑,right 指向右滑 | `name, position: 'left' | 'right' ` |
| close | 关闭时触发,同上 | `name, position: 'left' | 'right' ` |
| 事件名 | 说明 | 回调参数 |
| ------ | ----------------------------------------- | ------------------------------------ |
| open | 滑动时触发,left 指向左滑,right 指向右滑 | `name, position: 'left' \| 'right' ` |
| close | 关闭时触发,同上 | `name, position: 'left' \| 'right' ` |
### Slots
Expand All @@ -179,7 +179,7 @@ app.use(Swipe);
通过 [ref](https://vuejs.org/guide/essentials/template-refs.html) 可以获取到 `Swipe` 实例并调用实例方法。
| 方法名 | 说明 | 参数 |
| ------ | ----------------------------------------------- | ----------------------- | --------- |
| open | 滑动单元格侧边栏,left 指向左滑,right 指向右滑 | `name, position: 'left' | 'right' ` |
| close | 收起单元格侧边栏,同上 | `name, position: 'left' | 'right' ` |
| 方法名 | 说明 | 参数 |
| ------ | ----------------------------------------------- | ------------------------------------ |
| open | 滑动单元格侧边栏,left 指向左滑,right 指向右滑 | `name, position: 'left' \| 'right' ` |
| close | 收起单元格侧边栏,同上 | `name, position: 'left' \| 'right' ` |
16 changes: 8 additions & 8 deletions src/packages/__VUE/swipe/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ app.use(Swipe);
### Events
| 事件名 | 说明 | 回调参数 |
| ------ | ----------------------------------------- | ----------------------- | -------- |
| open | 滑动时触发,left 指向左滑,right 指向右滑 | `name, position: 'left' | 'right'` |
| close | 关闭时触发,同上 | `name, position: 'left' | 'right'` |
| 事件名 | 说明 | 回调参数 |
| ------ | ----------------------------------------- | ----------------------------------- |
| open | 滑动时触发,left 指向左滑,right 指向右滑 | `name, position: 'left' \| 'right'` |
| close | 关闭时触发,同上 | `name, position: 'left' \| 'right'` |
### Slots
Expand All @@ -179,7 +179,7 @@ app.use(Swipe);
通过 [ref](https://vuejs.org/guide/essentials/template-refs.html) 可以获取到 Swipe 实例并调用实例方法。
| 方法名 | 说明 | 参数 |
| ------ | ----------------------------------------------- | ----------------------- | -------- |
| open | 滑动单元格侧边栏,left 指向左滑,right 指向右滑 | `name, position: 'left' | 'right'` |
| close | 收起单元格侧边栏,同上 | `name, position: 'left' | 'right'` |
| 方法名 | 说明 | 参数 |
| ------ | ----------------------------------------------- | ----------------------------------- |
| open | 滑动单元格侧边栏,left 指向左滑,right 指向右滑 | `name, position: 'left' \| 'right'` |
| close | 收起单元格侧边栏,同上 | `name, position: 'left' \| 'right'` |

0 comments on commit 6688911

Please sign in to comment.