docs(Overlay): add api version tip (#5081)

This commit is contained in:
neverland 2019-11-22 11:23:59 +08:00 committed by GitHub
parent 27e2e9cb2e
commit c168cd3c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 14 deletions

View File

@ -64,16 +64,16 @@ export default {
| z-index | z-index | *string \| number* | `1` | - | | z-index | z-index | *string \| number* | `1` | - |
| duration | Animation duration | *string \| number* | `0.3` | - | | duration | Animation duration | *string \| number* | `0.3` | - |
| class-name | ClassName | *string* | - | - | | class-name | ClassName | *string* | - | - |
| custom-class | Custom style | *object* | - | - | | custom-class | Custom style | *object* | - | 2.2.5 |
### Events ### Events
| Event | Description | Arguments | | Event | Description | Arguments | Version |
|------|------|------| |------|------|------|------|
| click | Triggered when clicked | event: Event | | click | Triggered when clicked | event: Event | - |
### Slots ### Slots
| Name | Description | | Name | Description | Version |
|------|------| |------|------|------|
| default | Default slot | | default | Default slot | 2.2.5 |

View File

@ -70,16 +70,16 @@ export default {
| z-index | z-index 层级 | *string \| number* | `1` | - | | z-index | z-index 层级 | *string \| number* | `1` | - |
| duration | 动画时长,单位秒 | *string \| number* | `0.3` | - | | duration | 动画时长,单位秒 | *string \| number* | `0.3` | - |
| class-name | 自定义类名 | *string* | - | - | | class-name | 自定义类名 | *string* | - | - |
| custom-style | 自定义样式 | *object* | - | - | | custom-style | 自定义样式 | *object* | - | 2.2.5 |
### Events ### Events
| 事件名 | 说明 | 回调参数 | | 事件名 | 说明 | 回调参数 | 版本 |
|------|------|------| |------|------|------|------|
| click | 点击时触发 | event: Event | | click | 点击时触发 | event: Event | - |
### Slots ### Slots
| 名称 | 说明 | | 名称 | 说明 | 版本 |
|------|------| |------|------|------|
| default | 默认插槽 | | default | 默认插槽,用于在遮罩层上方嵌入内容 | 2.0.5 |