docs: update version tag
This commit is contained in:
+16
-16
@@ -112,22 +112,22 @@ export default {
|
||||
|
||||
### Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| actions | Options | *Action[]* | `[]` | - |
|
||||
| title | Title | *string* | - | - |
|
||||
| cancel-text | Text of cancel button | *string* | - | - |
|
||||
| description | Description above the options | *string* | - | 2.2.8 |
|
||||
| overlay | Whether to show overlay | *boolean* | `true` | - |
|
||||
| round | Whether to show round corner | *boolean* | `true` | 2.0.9 |
|
||||
| close-icon | Close icon name | *string* | `close` | 2.2.13 |
|
||||
| close-on-click-action | Whether to close when click action | *boolean* | `false` | - |
|
||||
| close-on-click-overlay | Whether to close when click overlay | *boolean* | `true` | - |
|
||||
| lazy-render | Whether to lazy render util appeared | *boolean* | `true` | - |
|
||||
| lock-scroll | Whether to lock background scroll | *boolean* | `true` | - |
|
||||
| duration | Transition duration, unit second | *number* | `0.3` | 2.0.3 |
|
||||
| get-container | Return the mount node for action-sheet | *string \| () => Element* | - | - |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `true` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| actions | Options | *Action[]* | `[]` |
|
||||
| title | Title | *string* | - |
|
||||
| cancel-text | Text of cancel button | *string* | - |
|
||||
| description `v2.2.8` | Description above the options | *string* | - |
|
||||
| overlay | Whether to show overlay | *boolean* | `true` |
|
||||
| round `v2.0.9` | Whether to show round corner | *boolean* | `true` |
|
||||
| close-icon `v2.2.13` | Close icon name | *string* | `close` |
|
||||
| close-on-click-action | Whether to close when click action | *boolean* | `false` |
|
||||
| close-on-click-overlay | Whether to close when click overlay | *boolean* | `true` |
|
||||
| lazy-render | Whether to lazy render util appeared | *boolean* | `true` |
|
||||
| lock-scroll | Whether to lock background scroll | *boolean* | `true` |
|
||||
| duration `v2.0.3` | Transition duration, unit second | *number* | `0.3` |
|
||||
| get-container | Return the mount node for action-sheet | *string \| () => Element* | - |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `true` |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
@@ -122,22 +122,22 @@ export default {
|
||||
|
||||
### Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| actions | 菜单选项 | *Action[]* | `[]` | - |
|
||||
| title | 顶部标题 | *string* | - | - |
|
||||
| cancel-text | 取消按钮文字 | *string* | - | - |
|
||||
| description | 选项上方的描述信息 | *string* | - | 2.2.8 |
|
||||
| overlay | 是否显示遮罩层 | *boolean* | `true` | - |
|
||||
| round | 是否显示圆角 | *boolean* | `true` | 2.0.9 |
|
||||
| close-icon | 关闭图标名称或图片链接 | *string* | `close` | 2.2.13 |
|
||||
| close-on-click-action | 是否在点击选项后关闭 | *boolean* | `false` | - |
|
||||
| close-on-click-overlay | 是否在点击遮罩层后关闭 | *boolean* | `true` | - |
|
||||
| lazy-render | 是否在显示弹层时才渲染节点 | *boolean* | `true` | - |
|
||||
| lock-scroll | 是否锁定背景滚动 | *boolean* | `true` | - |
|
||||
| duration | 动画时长,单位秒 | *number* | `0.3` | 2.0.3 |
|
||||
| get-container | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - | - |
|
||||
| safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `true` | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| actions | 菜单选项 | *Action[]* | `[]` |
|
||||
| title | 顶部标题 | *string* | - |
|
||||
| cancel-text | 取消按钮文字 | *string* | - |
|
||||
| description `v2.2.8` | 选项上方的描述信息 | *string* | - |
|
||||
| overlay | 是否显示遮罩层 | *boolean* | `true` |
|
||||
| round `v2.0.9` | 是否显示圆角 | *boolean* | `true` |
|
||||
| close-icon `v2.2.13` | 关闭图标名称或图片链接 | *string* | `close` |
|
||||
| close-on-click-action | 是否在点击选项后关闭 | *boolean* | `false` |
|
||||
| close-on-click-overlay | 是否在点击遮罩层后关闭 | *boolean* | `true` |
|
||||
| lazy-render | 是否在显示弹层时才渲染节点 | *boolean* | `true` |
|
||||
| lock-scroll | 是否锁定背景滚动 | *boolean* | `true` |
|
||||
| duration `v2.0.3` | 动画时长,单位秒 | *number* | `0.3` |
|
||||
| get-container | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - |
|
||||
| safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `true` |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user