Merge pull request #9299 from electron/menu-item-doc-typos
Fix typos in MenuItem docs
This commit is contained in:
commit
dafd0b6c3c
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ The `role` property can have following values:
|
||||||
* `editMenu` - Whole default "Edit" menu (Undo, Copy, etc.)
|
* `editMenu` - Whole default "Edit" menu (Undo, Copy, etc.)
|
||||||
* `windowMenu` - Whole default "Window" menu (Minimize, Close, etc.)
|
* `windowMenu` - Whole default "Window" menu (Minimize, Close, etc.)
|
||||||
|
|
||||||
The following additional roles are avaiable on macOS:
|
The following additional roles are available on macOS:
|
||||||
|
|
||||||
* `about` - Map to the `orderFrontStandardAboutPanel` action
|
* `about` - Map to the `orderFrontStandardAboutPanel` action
|
||||||
* `hide` - Map to the `hide` action
|
* `hide` - Map to the `hide` action
|
||||||
|
@ -120,4 +120,4 @@ A String representing the menu items visible label
|
||||||
|
|
||||||
#### `menuItem.click`
|
#### `menuItem.click`
|
||||||
|
|
||||||
A Function that is fired when the MenuItem recieves a click event
|
A Function that is fired when the MenuItem receives a click event
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue