docs: update version tag
This commit is contained in:
+19
-19
@@ -118,25 +118,25 @@ export default {
|
||||
|
||||
### Props
|
||||
|
||||
| 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-popstate | Whether to close when popstate | *boolean* | `false` | 2.2.10 |
|
||||
| close-on-click-overlay | Whether to close when click overlay | *boolean* | `true` | - |
|
||||
| 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, 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 |
|
||||
| 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 `v2.0.7` | 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-popstate `v2.2.10` | Whether to close when popstate | *boolean* | `false` |
|
||||
| close-on-click-overlay | Whether to close when click overlay | *boolean* | `true` |
|
||||
| closeable `v2.2.0` | Whether to show close icon | *boolean* | `false` |
|
||||
| close-icon `v2.2.0` | Close icon name | *string* | `cross` |
|
||||
| close-icon-position `v2.2.2` | Close Icon Position,can be set to `top-left` `bottom-left` `bottom-right` | *string* | `top-right` |
|
||||
| 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 `v2.2.1` | Whether to enable bottom safe area adaptation | *boolean* | `false` |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
+19
-19
@@ -129,25 +129,25 @@ export default {
|
||||
|
||||
### Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| v-model | 当前组件是否显示 | *boolean* | `false` | - |
|
||||
| overlay | 是否显示遮罩层 | *boolean* | `true` | - |
|
||||
| position | 弹出位置,可选值为 `top` `bottom` `right` `left` | *string* | `center` | - |
|
||||
| overlay-class | 自定义遮罩层类名 | *string* | - | - |
|
||||
| overlay-style | 自定义遮罩层样式 | *object* | - | - |
|
||||
| duration | 动画时长,单位秒 | *number* | `0.3` | - |
|
||||
| round | 是否显示圆角 | *boolean* | `false` | 2.0.7 |
|
||||
| lock-scroll | 是否锁定背景滚动 | *boolean* | `true` | - |
|
||||
| lazy-render | 是否在显示弹层时才渲染节点 | *boolean* | `true` | - |
|
||||
| close-on-popstate | 是否在页面回退时自动关闭 | *boolean* | `false` | 2.2.10 |
|
||||
| close-on-click-overlay | 是否在点击遮罩层后关闭 | *boolean* | `true` | - |
|
||||
| closeable | 是否显示关闭图标 | *boolean* | `false` | 2.2.0 |
|
||||
| close-icon | 关闭图标名称或图片链接 | *string* | `cross` | 2.2.0 |
|
||||
| close-icon-position | 关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right` | *string* | `top-right` | 2.2.2 |
|
||||
| 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 |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| v-model | 当前组件是否显示 | *boolean* | `false` |
|
||||
| overlay | 是否显示遮罩层 | *boolean* | `true` |
|
||||
| position | 弹出位置,可选值为 `top` `bottom` `right` `left` | *string* | `center` |
|
||||
| overlay-class | 自定义遮罩层类名 | *string* | - |
|
||||
| overlay-style | 自定义遮罩层样式 | *object* | - |
|
||||
| duration | 动画时长,单位秒 | *number* | `0.3` |
|
||||
| round `v2.0.7` | 是否显示圆角 | *boolean* | `false` |
|
||||
| lock-scroll | 是否锁定背景滚动 | *boolean* | `true` |
|
||||
| lazy-render | 是否在显示弹层时才渲染节点 | *boolean* | `true` |
|
||||
| close-on-popstate `v2.2.10` | 是否在页面回退时自动关闭 | *boolean* | `false` |
|
||||
| close-on-click-overlay | 是否在点击遮罩层后关闭 | *boolean* | `true` |
|
||||
| closeable `v2.2.0` | 是否显示关闭图标 | *boolean* | `false` |
|
||||
| close-icon `v2.2.0` | 关闭图标名称或图片链接 | *string* | `cross` |
|
||||
| close-icon-position `v2.2.2` | 关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right` | *string* | `top-right` |
|
||||
| transition | 动画类名,等价于 [transtion](https://cn.vuejs.org/v2/api/index.html#transition) 的`name`属性 | *string* | - |
|
||||
| get-container | 指定挂载的节点 | *string \| () => Element* | - |
|
||||
| safe-area-inset-bottom `v2.2.1` | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `false` |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user