Skip to content

Commit

Permalink
📝 Add note regarding dynamic addition/removal of menu items.
Browse files Browse the repository at this point in the history
Closes electron#8928.

[ci skip]
  • Loading branch information
swashcap committed Mar 23, 2017
1 parent 46aed5f commit a92f639
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/api/menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a92f639

Please sign in to comment.