[Doc] use ts-style type
This commit is contained in:
@@ -41,10 +41,10 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| 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 | `number | string` | `1` |
|
||||
| duration | Animation duration | `number | string` | `0.3` |
|
||||
| class-name | ClassName | `string` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
@@ -45,10 +45,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 层级 | `number | string` | `1` | - |
|
||||
| duration | 动画时长,单位秒 | `number | string` | `0.3` | - |
|
||||
| class-name | 自定义类名 | `string` | - | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user