mirror of
https://github.com/electron/electron.git
synced 2026-02-11 07:34:57 -05:00
📝 Add note regarding dynamic addition/removal of menu items.
Closes #8928. [ci skip]
This commit is contained in:
@@ -25,6 +25,10 @@ will be set as each window's top menu.
|
||||
|
||||
Returns `Menu` - The application menu, if set, or `null`, if not set.
|
||||
|
||||
**Note:** The returned `Menu` instance doesn't support dynamic addition or
|
||||
removal of menu items. [Instance properties](#instance-properties) can still
|
||||
be dynamically modified.
|
||||
|
||||
#### `Menu.sendActionToFirstResponder(action)` _macOS_
|
||||
|
||||
* `action` String
|
||||
|
||||
Reference in New Issue
Block a user