From 3eb07cecc0b46fe07b4ca8fe3548ac5b6891739d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Fri, 12 Oct 2018 20:36:08 +0800 Subject: [PATCH] [Doc] Swipe slot --- packages/swipe/en-US.md | 9 ++++++++- packages/swipe/zh-CN.md | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/packages/swipe/en-US.md b/packages/swipe/en-US.md index 7d02254a2..54165950b 100644 --- a/packages/swipe/en-US.md +++ b/packages/swipe/en-US.md @@ -146,4 +146,11 @@ Use ref to get swipe instance and call instance methods | Name | Attribute | Return value | Description | |-----------|-----------|-----------|-------------| -| swipeTo | index: 目标位置的索引 | void | 滚动到目标位置 | +| swipeTo | index: target index | void | Swipe to target index | + +### Slot + +| name | Description | +|-----------|-----------| +| - | Content | +| indicator | Custom indicator | diff --git a/packages/swipe/zh-CN.md b/packages/swipe/zh-CN.md index c8ee53580..1d7b73ad5 100644 --- a/packages/swipe/zh-CN.md +++ b/packages/swipe/zh-CN.md @@ -148,6 +148,13 @@ export default { |-----------|-----------|-----------|-------------| | swipeTo | index: 目标位置的索引 | void | 滚动到目标位置 | +### 插槽 + +| 名称 | 说明 | +|-----------|-----------| +| - | 轮播内容 | +| indicator | 自定义指示器 | + ### 更新日志 | 版本 | 类型 | 内容 |