Make Menu.getApplicationMenu() public

Closes https://github.com/electron/electron/issues/6085
This commit is contained in:
Machisté N. Quintana 2016-06-16 12:43:01 -07:00 committed by GitHub
parent 64ae5cf5a1
commit 296d49dc56

View file

@ -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.
### `Menu.getApplicationMenu()`
Returns the application menu (an instance of `Menu`), if set, or `null`, if not set.
### `Menu.sendActionToFirstResponder(action)` _OS X_
* `action` String