Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions components/menu/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ More layouts with navigation: [Layout](/components/layout).
| subMenuOpenDelay | delay time to show submenu when mouse enter, unit: second | number | 0 |
| theme | color theme of the menu | string: `light` `dark` | `light` |
| overflowedIndicator | Customized icon when menu is collapsed | DOM | `<span>···</span>` |
| triggerSubMenuAction | method of trigger submenu | `click` \| `hover` | `hover` |
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多了个 \

Copy link
Contributor Author

@chaegumi chaegumi Jan 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没多吧,他是可选项的意思,两个值可选,click或hover,我看mode那个就是那样的

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

懂了,转义后面的 |


### Menu Events

Expand Down
1 change: 1 addition & 0 deletions components/menu/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/3XZcjGpvK/Menu.svg
| subMenuOpenDelay | 用户鼠标进入子菜单后开启延时,单位:秒 | number | 0 |
| theme | 主题颜色 | string: `light` `dark` | `light` |
| overflowedIndicator | 自定义 Menu 折叠时的图标 | DOM | `<span>···</span>` |
| triggerSubMenuAction | 修改 Menu 子菜单的触发方式 | `click` \| `hover` | `hover` |

### Menu 事件

Expand Down