feat(DropdownMenu): duration can be string
This commit is contained in:
@@ -117,9 +117,9 @@ export default {
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| active-color | 菜单标题和选项的选中态颜色 | *string* | `#1989fa` |
|
||||
| z-index | 菜单栏 z-index 层级 | *number \| string* | `10` |
|
||||
| duration | 动画时长,单位秒 | *number* | `0.2` |
|
||||
| direction `v2.0.1` | 菜单展开方向,可选值为`up` | *string* | `down` |
|
||||
| z-index | 菜单栏 z-index 层级 | *number \| string* | `10` |
|
||||
| duration | 动画时长,单位秒 | *number \| string* | `0.2` |
|
||||
| overlay | 是否显示遮罩层 | *boolean* | `true` |
|
||||
| close-on-click-overlay | 是否在点击遮罩层后关闭菜单 | *boolean* | `true` |
|
||||
| close-on-click-outside `v2.0.7` | 是否在点击外部元素后关闭菜单 | *boolean* | `true` |
|
||||
|
||||
Reference in New Issue
Block a user