From 8493fda8b00c3f05fd8f3f745f97c9a442a4491d Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 30 Sep 2019 11:16:42 +0800 Subject: [PATCH] docs(Popup): add transition component link (#4635) --- src/popup/README.md | 17 ++++------------- src/popup/README.zh-CN.md | 17 ++++------------- 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/src/popup/README.md b/src/popup/README.md index f666da1ee..b82b6e4e1 100644 --- a/src/popup/README.md +++ b/src/popup/README.md @@ -93,22 +93,13 @@ Use `get-container` prop to specify mount location ```html - + - + - + ``` ```js @@ -140,7 +131,7 @@ export default { | closeable | Whether to show close icon | *boolean* | `false` | 2.2.0 | | close-icon | Close icon name | *string* | `cross` | 2.2.0 | | close-icon-position | Close Icon Position,can be set to `top-left` `bottom-left` `bottom-right` | *string* | `top-right` | 2.2.2 | -| transition | Transition | *string* | `popup-slide` | - | +| transition | Transition, equivalent to `name` prop of [transtion](https://vuejs.org/v2/api/#transition) | *string* | - | - | | get-container | Return the mount node for Popup | *string \| () => Element* | - | - | | safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `false` | 2.2.1 | diff --git a/src/popup/README.zh-CN.md b/src/popup/README.zh-CN.md index 88e87f8c8..159f47fac 100644 --- a/src/popup/README.zh-CN.md +++ b/src/popup/README.zh-CN.md @@ -103,22 +103,13 @@ export default { ```html - + - + - + ``` ```js @@ -151,7 +142,7 @@ export default { | closeable | 是否显示关闭图标 | *boolean* | `false` | 2.2.0 | | close-icon | 关闭图标名称或图片链接 | *string* | `cross` | 2.2.0 | | close-icon-position | 关闭图标位置,可选值为`top-left` `bottom-left` `bottom-right` | *string* | `top-right` | 2.2.2 | -| transition | 动画类名,用法与 Vue 原生`transtion`组件的`name`属性一致 | *string* | - | - | +| transition | 动画类名,等价于 [transtion](https://cn.vuejs.org/v2/api/index.html#transition) 的`name`属性 | *string* | - | - | | get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | *string \| () => Element* | - | - | | safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `false` | 2.2.1 |