David Sanders
7019713126
docs: use relative links within docs ( #29651 )
2021-06-14 14:02:23 -05:00
Erick Zhao
18a76c6b9d
docs: uniformize module API doc format ( #28920 )
...
This PR ensures that all API modules are present in the README doc,
as there were a couple missing. It also formats all modules to contain
a level-1 heading and a blockquote description.
2021-04-29 09:56:31 +02:00
Michaela Laurencin
0dd283a7a6
docs: update menu item '&' escaping ( #27770 )
2021-02-19 15:41:16 +09:00
Jeremy Rose
a200b15600
docs: update menu example to avoid remote ( #25291 )
2020-09-16 14:32:32 -07:00
szTheory
3b250b649b
docs: fix role typos in startSpeaking/stopSpeaking ( #24550 )
2020-07-23 13:59:24 -07:00
szTheory
74e7f2773f
doc: fix typos in role values ( #24552 )
2020-07-21 08:59:20 -07:00
Jeremy Rose
71a7e1b2e3
chore: tsify menu ( #24358 )
2020-07-06 13:24:54 -07:00
Chase Colman
9a4e551c8b
docs: fix undefined isMac in menu example ( #19071 )
...
* docs: fix undefined isMac in menu example
* docs: remove ; in example
2019-07-02 10:09:10 -05:00
Samuel Attard
f80601da16
docs: ensure that optionality matches between documented params and signatures ( #18613 )
...
* docs: ensure that optionality matches between documented params and signatures
* docs: ensure that all optional declarations are lower case
* chore: fix broken link
2019-06-04 14:03:24 -07:00
Shelley Vohr
554ee92b39
docs: specify use case for the 'services' role ( #18484 )
...
* docs: specify use case for the 'services' role
* update based on @caesar's recommendation
Co-Authored-By: Caesar Schinas <caesar@caesarschinas.com>
2019-05-30 14:33:48 -07:00
Andrey
204e3808d2
docs: add parentheses + change lower case to upper case in some places ( #18368 )
...
* fix: add parentheses
Add parentheses to the end `app.showAboutPanel`, because this is method.
* fix: change 'Promise<string>' to 'Promise<String>'
Change `Promise<string>` to `Promise<String>`, because this is class name.
* docs: change lower case to upper case
Change lower case in word `menu` to upper case - `Menu`, because it's method.
2019-05-21 15:41:41 +09:00
Shelley Vohr
6d96f30ed3
refactor: make shell.OpenExternal async ( #17135 )
2019-05-03 13:53:45 -07:00
Shelley Vohr
8d83518f9a
refactor: make name a prop on app ( #17701 )
...
Update app.name to be a property on app.
2019-04-30 13:55:33 -07:00
Aayush Chhabra
6d005ff137
docs: Remove redundant 'Instance Events' Headline ( #16865 )
2019-02-15 08:29:33 -10:00
Shelley Vohr
858781ba83
feat: allow Menu.buildFromTemplate() to accept MenuItems ( #16697 )
...
* feat: allow Menu.buildFromTemplate to accept MenuItems
* add another spec
* fix linter error
* add submenu spec
2019-02-06 10:04:40 -08:00
Xinayu
52952f7d51
Update menu.md ( #16670 )
2019-02-01 08:28:28 -08:00
Milan Burda
23d44e322d
feat: use default-app behavior in packaged apps ( #16310 )
...
Unify the behavior between default app and packaged apps:
- create default application menu unless the app has one
- default window-all-closed handling unless the app handles the event
2019-01-15 21:35:53 +01:00
Shelley Vohr
0881fd6397
feat: split openExternal into sync and async ( #16176 )
...
* feat: split openExternal into sync and async
* v8::Locker => mate::Locker
* fix: enter js env when resolving promise
2019-01-14 20:35:21 -08:00
Milan Burda
eb02a422de
feat: add fileMenu
/ viewMenu
/ appMenu
roles ( #16328 )
2019-01-10 14:32:03 +01:00
Shelley Vohr
9fd98bb27b
refactor: no longer require submenu for services menuitem ( #15656 )
2018-11-10 12:47:55 -05:00
Heilig Benedek
894ae1b3f5
refactor: Improve accessibility of menus ( #15302 )
...
* refactor: improve menubar keyboard accessibility
* fix: create a temporary widget for tray icon context menu
* fix: focus menu bar with Alt when autohide is off
* fix: make menu bar focus work more like the native menus
* fix: only focus menu bar if it's not already focused
* fix: track accelerator registration to avoid duplicates
* docs: add docs for & notation in app menu item names
* fix: only try to activate accelerator if it's registered
* fix: add friend to monitor window focus change
* style: add <memory> include
2018-10-29 13:08:46 -05:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Dominic
a7052efaf4
fix: make menu.popup options optional ( #13977 )
...
* add empty object as default param for options
* update docs
* add spec for optional options
* fix: add null check for options
2018-08-08 17:38:52 -05:00
Charles Kerr
4d078fdb03
Remove more words ( #12852 )
...
* remove 'basically' from docs
* remove 'simply' from docs
* remove most uses of 'just' from docs
2018-05-08 00:16:09 -05:00
Shelley Vohr
52e3d5e4f0
remove some beginner-unfriendly terms from docs
2018-05-07 08:46:14 -07:00
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
Charles Kerr
21de806c80
document menu.popup() option's window argument
2018-02-20 14:30:37 -06:00
Charles Kerr
35e90f742b
fix menu.popup() sample code
2018-02-20 11:18:57 -06:00
Shelley Vohr
ba933ef085
update docs for single param popup
2018-02-20 11:12:39 -05:00
Shelley Vohr
c886803d0f
change doc to show working on all platforms
2018-01-28 18:57:44 -05:00
Shelley Vohr
a9dd4c927d
update menu docs description string
2018-01-28 13:59:53 -05:00
Shelley Vohr
e81265bc7f
add documentation for new menu events
2018-01-27 11:28:42 -05:00
Cheng Zhao
46330ac2a9
Remove the closed event of Menu
...
The callback of Menu.popup does more things, and there is actually no
request for the closed event.
2018-01-01 17:22:07 +09:00
Cheng Zhao
9c6aa9ce90
docs: callback of Menu.popup
2018-01-01 16:42:23 +09:00
Heilig Benedek
bcef6eb3df
document menu closed event and fix styling issue
2017-12-20 15:40:07 +09:00
Toinane
323ea2b27b
fix(docs): fix all missing dots and add some links
2017-11-29 11:38:35 +01:00
Aleksei Kuzmin
9c5acf6233
Remove "async" flag from the menu.popup()
options
...
All menus have become async after the Chromium 61 upgrade.
Fixes #11242 .
2017-11-25 13:31:58 +01:00
Charles Kerr
70643a865b
Merge pull request #11178 from electron/fenced-code-block-lang
...
enforce rules on code blocks style in docs
2017-11-21 13:38:46 +01:00
Charles Kerr
432d050481
Merge pull request #11167 from simast/menu-typings-fix
...
Improve setApplicationMenu/getApplicationMenu docs
2017-11-20 13:28:37 -06:00
Vanessa Yuen
435e027dc3
fix linting for fenced codeblocks only (see electron/electronjs.org#868 )
2017-11-20 14:33:25 +08:00
Ronald Eddy
14c6e78147
Update electron.atom.io -> electronjs.org
...
Update electron.atom.io -> electronjs.org to reduce redirects and speed navigation.
2017-11-19 04:01:33 -08:00
Simas Toleikis
c465257d69
Fix docs for menu setApplicationMenu/getApplicationMenu methods [ci skip]
2017-11-19 11:41:22 +02:00
Shelley Vohr
05c50b0a2e
fix docs typo
2017-09-26 21:30:27 -04:00
Shelley Vohr
31bf873c20
add docs update for new api call
2017-09-26 21:14:44 -04:00
Zeke Sikelianos
1811b0cbda
fix heading levels for class docs
2017-07-26 13:02:40 -07:00
Fabian Zeindl
5db02ffaa9
updates to the docs
2017-07-24 10:29:45 +02:00
Kevin Sawicki
fb47dc9e48
🎨
2017-06-05 08:55:42 -07:00
Samuel Attard
af09d85125
Update menu.md
2017-06-03 14:50:10 +10:00
Kevin Wojniak
342a8fd577
Add missing word
2017-05-02 09:05:07 -07:00
Kevin Sawicki
e9880e9c97
Merge pull request #8996 from swashcap/master
...
Add documentation note on dynamic Menu items
2017-04-21 13:44:01 -07:00