docs: remove all v2 version tag
This commit is contained in:
@@ -172,15 +172,15 @@ export default {
|
||||
| maxlength | Value maxlength | _number \| string_ | - |
|
||||
| transition | Whether to show transition animation | _boolean_ | `true` |
|
||||
| z-index | Keyboard z-index | _number \| string_ | `100` |
|
||||
| extra-key `v2.8.2` | Content of bottom left key | _string \| string[]_ | `''` |
|
||||
| extra-key | Content of bottom left key | _string \| string[]_ | `''` |
|
||||
| close-button-text | Close button text | _string_ | - |
|
||||
| delete-button-text | Delete button text | _string_ | Delete Icon |
|
||||
| close-button-loading `v2.7.0` | Whether to show loading close button in custom theme | _boolean_ | `false` |
|
||||
| show-delete-key `v2.5.9` | Whether to show delete button | _boolean_ | `true` |
|
||||
| close-button-loading | Whether to show loading close button in custom theme | _boolean_ | `false` |
|
||||
| show-delete-key | Whether to show delete button | _boolean_ | `true` |
|
||||
| hide-on-click-outside | Whether to hide keyboard when outside is clicked | _boolean_ | `true` |
|
||||
| teleport `v2.10.0` | Return the mount node for NumberKeyboard | _string \| Element_ | - |
|
||||
| teleport | Return the mount node for NumberKeyboard | _string \| Element_ | - |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | _boolean_ | `true` |
|
||||
| random-key-order `v2.12.2` | Whether to shuffle the order of keys | _boolean_ | `false` |
|
||||
| random-key-order | Whether to shuffle the order of keys | _boolean_ | `false` |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
@@ -131,9 +131,7 @@ export default {
|
||||
通过 `random-key-order` 属性可以随机排序数字键盘,常用于安全等级较高的场景。
|
||||
|
||||
```html
|
||||
<van-cell @touchstart.stop="show = true">
|
||||
弹出配置随机数字的键盘
|
||||
</van-cell>
|
||||
<van-cell @touchstart.stop="show = true"> 弹出配置随机数字的键盘 </van-cell>
|
||||
<van-number-keyboard
|
||||
:show="show"
|
||||
random-key-order
|
||||
@@ -185,15 +183,15 @@ export default {
|
||||
| maxlength | 输入值最大长度 | _number \| string_ | - |
|
||||
| transition | 是否开启过场动画 | _boolean_ | `true` |
|
||||
| z-index | 键盘 z-index 层级 | _number \| string_ | `100` |
|
||||
| extra-key `v2.8.2` | 底部额外按键的内容 | _string \| string[]_ | `''` |
|
||||
| extra-key | 底部额外按键的内容 | _string \| string[]_ | `''` |
|
||||
| close-button-text | 关闭按钮文字,空则不展示 | _string_ | - |
|
||||
| delete-button-text | 删除按钮文字,空则展示删除图标 | _string_ | - |
|
||||
| close-button-loading `v2.7.0` | 是否将关闭按钮设置为加载中状态,仅在 `theme="custom"` 时有效 | _boolean_ | `false` |
|
||||
| show-delete-key `v2.5.9` | 是否展示删除图标 | _boolean_ | `true` |
|
||||
| close-button-loading | 是否将关闭按钮设置为加载中状态,仅在 `theme="custom"` 时有效 | _boolean_ | `false` |
|
||||
| show-delete-key | 是否展示删除图标 | _boolean_ | `true` |
|
||||
| hide-on-click-outside | 点击外部时是否收起键盘 | _boolean_ | `true` |
|
||||
| teleport `v2.10.0` | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | _string \| Element_ | - |
|
||||
| teleport | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | _string \| Element_ | - |
|
||||
| safe-area-inset-bottom | 是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei) | _boolean_ | `true` |
|
||||
| random-key-order `v2.12.2` | 是否将通过随机顺序展示按键 | _boolean_ | `false` |
|
||||
| random-key-order | 是否将通过随机顺序展示按键 | _boolean_ | `false` |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user