docs: add version tip in en docs (#4262)

This commit is contained in:
neverland
2019-08-27 19:56:30 +08:00
committed by GitHub
parent 8ee0bef715
commit 959efb0ce6
88 changed files with 865 additions and 864 deletions
+14 -14
View File
@@ -98,20 +98,20 @@ export default {
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | Whether to show popup | `boolean` | `false` |
| overlay | Whether to show overlay | `boolean` | `true` |
| position | Can be set to `top` `bottom` `right` `left` | `string` | `center` |
| overlay-class | Custom overlay class | `string` | - |
| overlay-style | Custom overlay style | `object` | - |
| duration | Transition duration, unit second | `number` | `0.3` |
| round | Whether to show round corner | `boolean` | `false` |
| lock-scroll | Whether to lock background scroll | `boolean` | `true` |
| lazy-render | Whether to lazy render util appeared | `boolean` | `true` |
| close-on-click-overlay | Whether to close when click overlay | `boolean` | `true` |
| transition | Transition | `string` | `popup-slide` |
| get-container | Return the mount node for Popup | `string | () => HTMLElement` | - |
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| v-model | Whether to show popup | `boolean` | `false` | - |
| overlay | Whether to show overlay | `boolean` | `true` | - |
| position | Can be set to `top` `bottom` `right` `left` | `string` | `center` | - |
| overlay-class | Custom overlay class | `string` | - | - |
| overlay-style | Custom overlay style | `object` | - | - |
| duration | Transition duration, unit second | `number` | `0.3` | - |
| round | Whether to show round corner | `boolean` | `false` | 2.0.7 |
| lock-scroll | Whether to lock background scroll | `boolean` | `true` | - |
| lazy-render | Whether to lazy render util appeared | `boolean` | `true` | - |
| close-on-click-overlay | Whether to close when click overlay | `boolean` | `true` | - |
| transition | Transition | `string` | `popup-slide` | - |
| get-container | Return the mount node for Popup | `string | () => HTMLElement` | - | - |
### Events
+1 -1
View File
@@ -114,7 +114,7 @@ export default {
| position | 弹出位置,可选值为 `top` `bottom` `right` `left` | `string` | `center` | - |
| overlay-class | 自定义遮罩层类名 | `string` | - | - |
| overlay-style | 自定义遮罩层样式 | `object` | - | - |
| duration | 动画时长,单位秒 | `number` | `0.3` | 2.0.0 |
| duration | 动画时长,单位秒 | `number` | `0.3` | - |
| round | 是否显示圆角 | `boolean` | `false` | 2.0.7 |
| lock-scroll | 是否锁定背景滚动 | `boolean` | `true` | - |
| lazy-render | 是否在显示弹层时才渲染节点 | `boolean` | `true` | - |