docs: update menu doc, add triggerSubMenuAction description (#5202)
parent
6d4248d046
commit
4846bd0f65
|
@ -44,6 +44,7 @@ More layouts with navigation: [Layout](/components/layout).
|
||||||
| subMenuOpenDelay | delay time to show submenu when mouse enter, unit: second | number | 0 |
|
| subMenuOpenDelay | delay time to show submenu when mouse enter, unit: second | number | 0 |
|
||||||
| theme | color theme of the menu | string: `light` `dark` | `light` |
|
| theme | color theme of the menu | string: `light` `dark` | `light` |
|
||||||
| overflowedIndicator | Customized icon when menu is collapsed | DOM | `<span>···</span>` |
|
| overflowedIndicator | Customized icon when menu is collapsed | DOM | `<span>···</span>` |
|
||||||
|
| triggerSubMenuAction | method of trigger submenu | `click` \| `hover` | `hover` |
|
||||||
|
|
||||||
### Menu Events
|
### Menu Events
|
||||||
|
|
||||||
|
|
|
@ -44,6 +44,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/3XZcjGpvK/Menu.svg
|
||||||
| subMenuOpenDelay | 用户鼠标进入子菜单后开启延时,单位:秒 | number | 0 |
|
| subMenuOpenDelay | 用户鼠标进入子菜单后开启延时,单位:秒 | number | 0 |
|
||||||
| theme | 主题颜色 | string: `light` `dark` | `light` |
|
| theme | 主题颜色 | string: `light` `dark` | `light` |
|
||||||
| overflowedIndicator | 自定义 Menu 折叠时的图标 | DOM | `<span>···</span>` |
|
| overflowedIndicator | 自定义 Menu 折叠时的图标 | DOM | `<span>···</span>` |
|
||||||
|
| triggerSubMenuAction | 修改 Menu 子菜单的触发方式 | `click` \| `hover` | `hover` |
|
||||||
|
|
||||||
### Menu 事件
|
### Menu 事件
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue