diff --git a/docs/api/menu.md b/docs/api/menu.md index eea016360973..888b0f78bae1 100644 --- a/docs/api/menu.md +++ b/docs/api/menu.md @@ -89,6 +89,12 @@ Closes the context menu in the `browserWindow`. Appends the `menuItem` to the menu. +#### `menu.getMenuItemById(id)` + +* `id` String + +Returns the MenuItem with the specified `id`. + #### `menu.insert(pos, menuItem)` * `pos` Integer