docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions
+13 -13
View File
@@ -96,19 +96,19 @@ export default {
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| v-model | Current value | `string` | - | 2.0.2 |
| show | Whether to show keyboard | `boolean` | - | - |
| theme | Keyboard themecan be set to `default` `custom` | `string` | `default` | - |
| title | Keyboard title | `string` | - | - |
| maxlength | Value maxlength | `number | string` | - | 2.0.2 |
| transition | Whether to show transition animation | `boolean` | `true` | - |
| z-index | Keyboard z-index | `number` | `100` | - |
| extra-key | Content of bottom left key | `string` | `''` | - |
| close-button-text | Close button text | `string` | `-` | - |
| delete-button-text | Delete button text | `string` | `delete` | - |
| show-delete-key | Whether to show delete button | `boolean` | `true` | - |
| hide-on-click-outside | Whether to hide keyboard when click outside | `boolean` | `true` | - |
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation, to enable those features use `viewport-fit=cover` in the `viewport` meta tag | `boolean` | `false` | - |
| v-model | Current value | *string* | - | 2.0.2 |
| show | Whether to show keyboard | *boolean* | - | - |
| theme | Keyboard themecan be set to `default` `custom` | *string* | `default` | - |
| title | Keyboard title | *string* | - | - |
| maxlength | Value maxlength | *string \| number* | - | 2.0.2 |
| transition | Whether to show transition animation | *boolean* | `true` | - |
| z-index | Keyboard z-index | *number* | `100` | - |
| extra-key | Content of bottom left key | *string* | `''` | - |
| close-button-text | Close button text | *string* | `-` | - |
| delete-button-text | Delete button text | *string* | `delete` | - |
| show-delete-key | Whether to show delete button | *boolean* | `true` | - |
| hide-on-click-outside | Whether to hide keyboard when click outside | *boolean* | `true` | - |
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation, to enable those features use `viewport-fit=cover` in the `viewport` meta tag | *boolean* | `false` | - |
### Events
+13 -13
View File
@@ -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