mirror of
https://github.com/youzan/vant.git
synced 2026-01-28 01:10:04 +08:00
docs: type highlight (#4264)
This commit is contained in:
@@ -42,10 +42,10 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| show | Whether to show overlay | `boolean` | `false` | - |
|
||||
| z-index | z-index | `number | string` | `1` | - |
|
||||
| duration | Animation duration | `number | string` | `0.3` | - |
|
||||
| class-name | ClassName | `string` | - | - |
|
||||
| show | Whether to show overlay | *boolean* | `false` | - |
|
||||
| z-index | z-index | *string \| number* | `1` | - |
|
||||
| duration | Animation duration | *string \| number* | `0.3` | - |
|
||||
| class-name | ClassName | *string* | - | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
@@ -46,10 +46,10 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| show | 是否展示遮罩层 | `boolean` | `false` | - |
|
||||
| z-index | z-index 层级 | `number | string` | `1` | - |
|
||||
| duration | 动画时长,单位秒 | `number | string` | `0.3` | - |
|
||||
| class-name | 自定义类名 | `string` | - | - |
|
||||
| show | 是否展示遮罩层 | *boolean* | `false` | - |
|
||||
| z-index | z-index 层级 | *string \| number* | `1` | - |
|
||||
| duration | 动画时长,单位秒 | *string \| number* | `0.3` | - |
|
||||
| class-name | 自定义类名 | *string* | - | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user