docs: type highlight (#4264)
This commit is contained in:
@@ -98,19 +98,19 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| v-model | 当前输入值 | `string` | - | 2.0.2 |
|
||||
| show | 是否显示键盘 | `boolean` | - | - |
|
||||
| theme | 样式风格,可选值为 `default` `custom` | `string` | `default` | - |
|
||||
| title | 键盘标题 | `string` | - | - |
|
||||
| maxlength | 输入值最大长度 | `number | string` | - | 2.0.2 |
|
||||
| transition | 是否开启过场动画 | `boolean` | `true` | - |
|
||||
| z-index | 键盘 z-index | `number` | `100` | - |
|
||||
| extra-key | 左下角按键内容 | `string` | `''` | - |
|
||||
| close-button-text | 关闭按钮文字,空则不展示 | `string` | `-` | - |
|
||||
| delete-button-text | 删除按钮文字 | `string` | `删除` | - |
|
||||
| show-delete-key | 是否展示删除按钮 | `boolean` | `true` | - |
|
||||
| hide-on-click-outside | 点击外部时是否收起键盘 | `boolean` | `true` | - |
|
||||
| safe-area-inset-bottom | 是否开启 iPhone X 底部安全区适配,需要在 `viewport` meta 标签中设置 `viewport-fit=cover` | `boolean` | `false` | - |
|
||||
| v-model | 当前输入值 | *string* | - | 2.0.2 |
|
||||
| show | 是否显示键盘 | *boolean* | - | - |
|
||||
| theme | 样式风格,可选值为 `default` `custom` | *string* | `default` | - |
|
||||
| title | 键盘标题 | *string* | - | - |
|
||||
| maxlength | 输入值最大长度 | *string \| number* | - | 2.0.2 |
|
||||
| transition | 是否开启过场动画 | *boolean* | `true` | - |
|
||||
| z-index | 键盘 z-index | *number* | `100` | - |
|
||||
| extra-key | 左下角按键内容 | *string* | `''` | - |
|
||||
| close-button-text | 关闭按钮文字,空则不展示 | *string* | `-` | - |
|
||||
| delete-button-text | 删除按钮文字 | *string* | `删除` | - |
|
||||
| show-delete-key | 是否展示删除按钮 | *boolean* | `true` | - |
|
||||
| hide-on-click-outside | 点击外部时是否收起键盘 | *boolean* | `true` | - |
|
||||
| safe-area-inset-bottom | 是否开启 iPhone X 底部安全区适配,需要在 `viewport` meta 标签中设置 `viewport-fit=cover` | *boolean* | `false` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user