mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
docs: Fix deprecated usage tips
This commit is contained in:
@@ -225,7 +225,7 @@ will be set as each window's top menu.
|
||||
|
||||
Sends the `action` to the first responder of application. This is used for
|
||||
emulating default Cocoa menu behaviors, usually you would just use the
|
||||
`selector` property of `MenuItem`.
|
||||
`role` property of `MenuItem`.
|
||||
|
||||
### `Menu.buildFromTemplate(template)`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user