mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[Doc] detailed Array typing
This commit is contained in:
@@ -57,7 +57,7 @@ export default {
|
||||
| duration | Duration(ms), won't disappear if value is 0 | `number` | `3000` |
|
||||
| color | Message color | `string` | `#fff` | |
|
||||
| background | Background color | `string` | `#f44` |
|
||||
| className | Custom className | `string | Array | object` | - |
|
||||
| className | Custom className | `any` | - |
|
||||
| onClick | Callback function after click | `Function` | - |
|
||||
| onOpened | Callback function after opened | `Function` | - |
|
||||
| onClose | Callback function after close | `Function` | - |
|
||||
|
@@ -57,7 +57,7 @@ export default {
|
||||
| duration | 展示时长(ms),值为 0 时,notify 不会消失 | `number` | `3000` | - |
|
||||
| color | 字体颜色 | `string` | `#fff` | - |
|
||||
| background | 背景颜色 | `string` | `#f44` | - |
|
||||
| className | 自定义类名 | `string | Array | object` | - | 1.6.0 |
|
||||
| className | 自定义类名 | `any` | - | 1.6.0 |
|
||||
| onClick | 点击时的回调函数 | `Function` | - | 2.0.0 |
|
||||
| onOpened | 完全展示后的回调函数 | `Function` | - | 2.0.0 |
|
||||
| onClose | 关闭时的回调函数 | `Function` | - | 2.0.0 |
|
||||
|
Reference in New Issue
Block a user