Skip to content

Commit 6240511

Browse files
committed
Update docs: fix deadlink and translation
1 parent 0ad0c0b commit 6240511

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/en/api/ContextMenuInstance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Global Function
8080
| clickCloseOnOutside | Set should close menu when the user click on other places. | `boolean` | `true` |
8181
| clickCloseClassName | If your element in menu item has this className, click it will ignore event and close hole menu. | `string` ||
8282
| updownButtonSpaceholder | Determine whether the up/down buttons in the menu item require space holder. The purpose of this variable is because some menu themes add blank padding above and below the menu, which are just enough to place up/down buttons. If there is no blank padding in your custom menu theme, you can set this field to provide blank space for up/down buttons to prevent obscuring menu items. | `boolean` || `false` |
83-
| getContainer | Return the mounted node for MenuRoot. [Guide](../guide/custom-container.en.md) | `HTMLElement` or `(() => HTMLElement)` |||
83+
| getContainer | Return the mounted node for MenuRoot. [Guide](../guide/custom-container.md) | `HTMLElement` or `(() => HTMLElement)` |||
8484
| onClose | This event emit when this menu is closing. (Usually used in function mode). Param lastClickItem The last clicked menu item, if user does not click any item, it is `undefined`. This param only valid in function mode. | `((lastClickItem: MenuItem|undefined) => void)` |||
8585

8686
## MenuItem

docs/en/api/MenuBar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Menu bar component.
1616

1717
| Slot name | Description | Arguments |
1818
| :----: | :----: | :----: |
19-
| prefix | 菜单栏前部渲染插槽 | - |
20-
| suffix | 菜单栏后部渲染插槽 | - |
19+
| prefix | Rendering slot in front of menu bar | - |
20+
| suffix | The rendering slot behind the menu bar | - |
2121

2222
## MenuBarOptions
2323

0 commit comments

Comments
 (0)