mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
add docs update for new api call
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user