electron/lib/browser/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
..
auto-updater fix windows tests 2018-02-16 16:02:10 +11:00
exports Refactor electron exports to keep module list in separate files 2017-03-09 19:08:01 -03:00
app.js Add "app.whenReady()" (#12652) 2018-04-20 17:09:23 +10:00
auto-updater.js 🎨 2016-05-06 10:12:55 -07:00
browser-view.js 🐛 Ooops, fix that 2017-11-22 17:07:57 -08:00
browser-window.js Do not return TopLevelWindow in BrowserWindow.getAllWindows 2018-04-19 13:08:37 +09:00
content-tracing.js first pass at standardizing; suite still passing! 2016-03-30 17:00:30 -07:00
dialog.js Implement App-Scoped Security scoped bookmarks (#11711) 2018-02-12 13:25:06 -05:00
global-shortcut.js 💄 Destructure globalShortcut module 2016-05-14 21:53:42 -04:00
in-app-purchase.js Handle in-app-purchase less fatally on non-Darwin (#12511) 2018-04-02 18:55:44 -05:00
ipc-main.js Use spread syntax instead of apply 2016-12-01 14:56:00 -08:00
menu-item-roles.js improve Menu and MenuItem testing (#12015) 2018-02-23 07:53:59 -06:00
menu-item.js Fix syntax 2018-01-01 02:23:32 +08:00
menu-utils.js Add menu item order control (#12362) 2018-05-05 09:37:29 -07:00
menu.js Add menu item order control (#12362) 2018-05-05 09:37:29 -07:00
module-list.js Expose TopLevelWindow to JavaScript 2018-04-19 13:08:36 +09:00
navigation-controller.js Revert "Fixes electron/electron#12147" (#12293) 2018-03-15 16:18:36 +09:00
net.js 🔧 Fix style issues 2017-11-23 13:42:48 -08:00
notification.js Fix linting errors and add isSupported 2017-05-30 20:27:24 +10:00
power-monitor.js Simplify the public PowerObserver interface 2018-02-05 15:28:58 +09:00
power-save-blocker.js 💄 Make the power-save-blocker a bit more concise 2016-05-15 09:36:13 -04:00
protocol.js Fix lint errors of using __proto__ 2016-08-02 21:02:28 +09:00
screen.js deprecate screen.getMenuBarHeight 2018-03-05 19:45:51 -05:00
session.js 🔧 Disable standard/no-callback-literal where necessary 2017-11-23 13:53:03 -08:00
system-preferences.js singletons that are retroactively turned into EventEmitters should call the EventEmitter ctor 2017-11-01 23:05:27 -05:00
top-level-window.js Make Menu API accept TopLevelWindow 2018-04-19 13:08:37 +09:00
touch-bar.js Fix event leak on reuse of touchbar item (#12527) 2018-04-15 10:24:47 -05:00
tray.js deprecate boolean highlightMode param (#11993) 2018-02-20 22:30:32 -06:00
web-contents.js Deprecate did-get-response-details and did-get-redirect-request (#12615) 2018-04-23 14:46:12 -05:00