Make Menu.getApplicationMenu() public
Closes https://github.com/electron/electron/issues/6085
This commit is contained in:
parent
64ae5cf5a1
commit
296d49dc56
1 changed files with 4 additions and 0 deletions
|
@ -231,6 +231,10 @@ will be set as each window's top menu.
|
||||||
|
|
||||||
**Note:** This API has to be called after the `ready` event of `app` module.
|
**Note:** This API has to be called after the `ready` event of `app` module.
|
||||||
|
|
||||||
|
### `Menu.getApplicationMenu()`
|
||||||
|
|
||||||
|
Returns the application menu (an instance of `Menu`), if set, or `null`, if not set.
|
||||||
|
|
||||||
### `Menu.sendActionToFirstResponder(action)` _OS X_
|
### `Menu.sendActionToFirstResponder(action)` _OS X_
|
||||||
|
|
||||||
* `action` String
|
* `action` String
|
||||||
|
|
Loading…
Reference in a new issue