electron/docs
Shelley Vohr 9c8952aef0
Add menu item order control (#12362)
Add four new optional properties to menus in Electron. The four properties are:
'before'
'after'
'beforeGroupContaining'
'afterGroupContaining'

'before/after' - provides a means for a single context menu item to declare its placement relative to another context menu item. These also imply that menu item in question should be placed in the same “group” as the item.

'beforeGroupContaining/afterGroupContaining - provides a means for a single menu item to declare the placement of its containing group, relative to the containing group of the specified item.
2018-05-05 09:37:29 -07:00
..
api Add menu item order control (#12362) 2018-05-05 09:37:29 -07:00
development Fix some broken documentation links (#12794) 2018-05-02 10:33:07 -05:00
images docs: fix images 2017-12-05 12:08:41 -08:00
tutorial Fixed several broken links to the sections (#12797) 2018-05-02 21:51:37 -05:00
faq.md remove all double spaces not needed 2017-11-29 11:58:24 +01:00
glossary.md add IDL and Mojo to glossary (#12504) 2018-04-03 07:58:25 -05:00
README.md add code signing tutorial (#12767) 2018-05-01 19:56:44 -05:00
styleguide.md update references to renamed i18n repo 2018-03-02 12:05:49 -08:00

Official Guides

Please make sure that you use the documents that match your Electron version. The version number should be a part of the page URL. If it's not, you are probably using the documentation of a development branch which may contain API changes that are not compatible with your Electron version. To view older versions of the documentation, you can browse by tag on GitHub by opening the "Switch branches/tags" dropdown and selecting the tag that matches your version.

FAQ

There are questions that are asked quite often. Check this out before creating an issue:

Guides and Tutorials

Detailed Tutorials

These individual tutorials expand on topics discussed in the guide above.


API References

Custom DOM Elements:

Modules for the Main Process:

Modules for the Renderer Process (Web Page):

Modules for Both Processes:

Development

See development/README.md