electron/docs/api
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
..
structures docs: Fix typo in transaction.md (#12804) 2018-05-03 00:01:49 -05:00
accelerator.md Link Accelerator docs to globalShortcut module 2016-10-26 14:48:09 +02:00
app.md [docs] app.isDefaultProtocolClient is available on Linux now (#12674) 2018-04-23 01:16:43 +10:00
auto-updater.md clarify usage around before-quit-for-update event 2018-04-16 08:13:04 -04:00
browser-view.md Document BrowserView.{destroy,isDestroyed} (#12274) 2018-03-15 16:15:56 +09:00
browser-window-proxy.md updates to the docs 2017-07-24 10:29:45 +02:00
browser-window.md Disable navigating on drag/drop (#12655) 2018-04-26 10:23:27 -05:00
chrome-command-line-switches.md move locale doc to command line switches 2018-02-08 11:49:28 -05:00
client-request.md Disallow launching unknown apps via browser client. 2018-01-22 16:49:30 -06:00
clipboard.md Update electron.atom.io -> electronjs.org 2017-11-19 04:01:33 -08:00
content-tracing.md contentTracing.setWatchEvent/cancelWatchEvent is removed 2017-02-06 10:34:28 -08:00
cookies.md Merge pull request #11282 from Toinane/fix-documentation 2017-12-03 09:01:24 -06:00
crash-reporter.md Include backtrace i/o as a crash reporter backend option 2018-02-28 14:21:14 -05:00
debugger.md link process annotations to glossary 2016-12-21 13:47:40 -08:00
desktop-capturer.md 📝 Fix desktopCapturer example (#10303) 2017-08-18 22:02:28 +02:00
dialog.md Mark securityScopedBookmarks as optional and a boolean (#11901) 2018-02-12 13:48:45 -05:00
download-item.md docs: specify string values for DownloadItem 2018-01-03 13:34:19 +11:00
environment-variables.md Provide an easy way to use a local build of Electron (#12426) 2018-03-25 00:03:17 -04:00
file-object.md this code is not care a bubbling event 2017-07-11 15:44:08 +09:00
frameless-window.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
global-shortcut.md link process annotations to glossary 2016-12-21 13:47:40 -08:00
in-app-purchase.md docs: fix the type information in in-app-purchase 2018-05-03 09:34:21 -07:00
incoming-message.md updates to the docs 2017-07-24 10:29:45 +02:00
ipc-main.md fix broken fragment link in ipc-main.md (#12389) 2018-03-21 12:05:27 -05:00
ipc-renderer.md add some markdown links 2017-11-29 12:13:45 +01:00
locales.md Use actual Chromium l10n_util list in locales.md 2017-05-01 17:15:37 -04:00
menu-item.md MenuItem roles camelCase-compatible 2017-12-28 13:28:20 +08:00
menu.md Add menu item order control (#12362) 2018-05-05 09:37:29 -07:00
native-image.md remove all double spaces not needed 2017-11-29 11:58:24 +01:00
net.md link process annotations to glossary 2016-12-21 13:47:40 -08:00
notification.md Update Notification API doc 2018-02-10 03:19:47 -08:00
power-monitor.md Screen Lock / Unlock events (#12714) 2018-05-01 02:04:27 +10:00
power-save-blocker.md remove all double spaces not needed 2017-11-29 11:58:24 +01:00
process.md remove all double spaces not needed 2017-11-29 11:58:24 +01:00
protocol.md remove all double spaces not needed 2017-11-29 11:58:24 +01:00
remote.md 📝 Fix typo in remote api docs [ci skip] 2018-01-28 04:37:13 +08:00
sandbox-option.md Propose fix some typos (#11905) 2018-02-13 00:18:27 -05:00
screen.md 🎨 2017-06-05 10:33:46 -07:00
session.md Clear cache storage data (#12546) 2018-04-13 13:03:16 -04:00
shell.md 📝 Fix url to unity-launcher and tiny correction (#12084) 2018-02-28 18:28:40 -06:00
synopsis.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
system-preferences.md Workspace notifications support on macOS (#12093) 2018-03-22 18:41:03 +09:00
touch-bar-button.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-color-picker.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-group.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-label.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-popover.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-scrubber.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-segmented-control.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-slider.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-spacer.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
tray.md Merge pull request #11282 from Toinane/fix-documentation 2017-12-03 09:01:24 -06:00
web-contents.md Fixes #12710 (#12786) 2018-05-02 12:19:52 -04:00
web-frame.md add did-frame-navigate event to WebContents (#12723) 2018-05-01 13:34:41 +09:00
web-request.md feat(docs): fix 'optional' wording 2017-11-28 18:15:15 +01:00
webview-tag.md Deprecate did-get-response-details and did-get-redirect-request (#12615) 2018-04-23 14:46:12 -05:00
window-open.md add some markdown links 2017-11-29 12:13:45 +01:00