mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Overlay): add api version tip (#5081)
This commit is contained in:
parent
27e2e9cb2e
commit
c168cd3c12
@ -64,16 +64,16 @@ export default {
|
||||
| z-index | z-index | *string \| number* | `1` | - |
|
||||
| duration | Animation duration | *string \| number* | `0.3` | - |
|
||||
| class-name | ClassName | *string* | - | - |
|
||||
| custom-class | Custom style | *object* | - | - |
|
||||
| custom-class | Custom style | *object* | - | 2.2.5 |
|
||||
|
||||
### Events
|
||||
|
||||
| Event | Description | Arguments |
|
||||
|------|------|------|
|
||||
| click | Triggered when clicked | event: Event |
|
||||
| Event | Description | Arguments | Version |
|
||||
|------|------|------|------|
|
||||
| click | Triggered when clicked | event: Event | - |
|
||||
|
||||
### Slots
|
||||
|
||||
| Name | Description |
|
||||
|------|------|
|
||||
| default | Default slot |
|
||||
| Name | Description | Version |
|
||||
|------|------|------|
|
||||
| default | Default slot | 2.2.5 |
|
||||
|
@ -70,16 +70,16 @@ export default {
|
||||
| z-index | z-index 层级 | *string \| number* | `1` | - |
|
||||
| duration | 动画时长,单位秒 | *string \| number* | `0.3` | - |
|
||||
| class-name | 自定义类名 | *string* | - | - |
|
||||
| custom-style | 自定义样式 | *object* | - | - |
|
||||
| custom-style | 自定义样式 | *object* | - | 2.2.5 |
|
||||
|
||||
### Events
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
|------|------|------|
|
||||
| click | 点击时触发 | event: Event |
|
||||
| 事件名 | 说明 | 回调参数 | 版本 |
|
||||
|------|------|------|------|
|
||||
| click | 点击时触发 | event: Event | - |
|
||||
|
||||
### Slots
|
||||
|
||||
| 名称 | 说明 |
|
||||
|------|------|
|
||||
| default | 默认插槽 |
|
||||
| 名称 | 说明 | 版本 |
|
||||
|------|------|------|
|
||||
| default | 默认插槽,用于在遮罩层上方嵌入内容 | 2.0.5 |
|
||||
|
Loading…
x
Reference in New Issue
Block a user