Shelley Vohr
280f9bf49c
feat: allow immediate MacOS notifications ( #16060 )
...
* feat: allow immediate MacOS notifications
* fix args->GetNext
* update docs/api/system-preferences.md
Co-Authored-By: codebytere <codebytere@github.com>
* address feedback from @ckerr's review
2018-12-14 13:46:46 -08:00
Shelley Vohr
c31629ad98
feat: add media access APIs for macOS Mojave ( #15624 )
2018-12-04 07:54:13 -08:00
Samuel Attard
86064a7bd8
docs: add return type for subscribeNotification ( #15490 )
2018-10-31 10:24:50 -04:00
Heilig Benedek
6d2a088be9
feat: detect high contrast color mode ( #15493 )
...
* feat: add event and method to detect high contrast color mode
* docs: add docs for isHighContrastColorScheme and high-contrast-color-scheme-changed
* refactor: correct type of contrast
2018-10-31 10:22:18 -04:00
Samuel Attard
d628aad3bf
feat: remove needless mojave dark mode APIs and add instructions on how to use the macOS replacement ( #14895 )
2018-10-02 14:44:50 +10:00
Samuel Attard
0d2a0c7583
feat: add APIs to support mojave dark modes ( #14755 )
...
* feat: add APIs to support mojave dark mode
Closes #13387
* docs: fix system-prefs typo
2018-09-27 10:33:31 -05:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Clément Beffa
642f5a84d4
Workspace notifications support on macOS ( #12093 )
2018-03-22 18:41:03 +09:00
Vanessa Yuen
48dd8f96b7
Fix broken links ( #12232 )
...
* Update system-preferences.md
* Fix broken documentation links.
2018-03-14 08:07:36 +09:00
Shelley Vohr
26ad37c4d1
remove key and value bullts
2017-12-13 16:02:15 -05:00
Shelley Vohr
8b447b9291
fixing error in registerDefaults
2017-12-12 13:08:09 -05:00
Alexey Kuzmin
1caa04c0bf
Revert "Add systemPreferences.registerDefaults()"
2017-12-12 13:59:15 +03:00
Shelley Vohr
027e78639a
update value type to Any
2017-12-11 14:06:02 -05:00
Shelley Vohr
765f223fef
update docs and spec
2017-12-11 13:06:23 -05:00
Shelley Vohr
c5aeda1fdd
fixes from code review
2017-12-11 00:20:26 -05:00
Shelley Vohr
5e51ab9791
fix doc parsing error
2017-12-10 14:55:14 -05:00
Shelley Vohr
9a40bbd082
update systemPreferences docs
2017-12-10 14:46:19 -05:00
Toinane
0a0d88a5dc
remove all double spaces not needed
2017-11-29 11:58:24 +01:00
Toinane
323ea2b27b
fix(docs): fix all missing dots and add some links
2017-11-29 11:38:35 +01:00
Birunthan Mohanathas
06d782279c
Add systemPreferences.removeUserDefault()
...
This can be used to restore the default or global value of a `key`
previously set with `setUserDefault`.
2017-10-10 22:57:47 +03:00
Kevin Sawicki
b964c304de
Add return type to systemPreferences.isAeroGlassEnabled()
2017-05-31 10:34:14 -07:00
Birunthan Mohanathas
cd2e6f497f
Fix missing return value type for systemPreferences.getUserDefault
2017-05-22 17:19:03 +03:00
Cesar Andreu
e296d4826f
Fix a typo, there => their
2016-12-21 19:21:04 -08:00
Zeke Sikelianos
e57cb713b2
link process annotations to glossary
2016-12-21 13:47:40 -08:00
Birunthan Mohanathas
486b6b9096
Add systemPreferences.setUserDefault for macOS
...
This API can be used to e.g. enable key repeat by setting
`ApplePressAndHoldEnabled` to `false` (see also #47 ).
2016-11-29 09:46:32 -08:00
Zeke Sikelianos
ac68de6215
document process(es) for all APIs
2016-11-03 10:26:00 -07:00
Samuel Attard
20323e7032
Specifiy function param types in docs
2016-10-13 17:30:57 +11:00
Kevin Sawicki
c8189046fe
Emit color-changed event on Windows
2016-10-11 13:15:27 -07:00
Kevin Sawicki
2656812dea
Doc systemPreferences.getColor
2016-10-11 13:15:27 -07:00
Kevin Sawicki
25bcc2dd0d
🎨
2016-10-10 10:43:09 -07:00
Kevin Sawicki
af27c62b07
Doc inverted-color-scheme-changed event
2016-10-10 10:43:08 -07:00
Kevin Sawicki
223e9d97a0
Doc systemPreferences.isInvertedColorScheme
2016-10-10 10:43:08 -07:00
Milan Burda
cb15181f43
Fix typo
2016-10-06 12:03:37 +02:00
Zeke Sikelianos
6728efe87e
Merge pull request #7339 from electron/document-return-values
...
Document the return values of all methods in the docs
2016-09-27 07:39:25 -07:00
Samuel Attard
d2a701a465
Document the return values of all methods in the docs
2016-09-25 12:59:30 +13:00
Vadim Macagon
1df30821db
Fix getAccentColor() docs in system-preferences.md
...
Example was using a non-existent method.
2016-09-25 01:45:34 +07:00
Kevin Sawicki
b5e1571204
Set parameter type to Object
2016-09-20 14:26:55 -07:00
Samuel Attard
c0f8b4895d
Update docs
2016-09-20 02:41:26 +10:00
Zeke Sikelianos
28d42ba35b
document missing method parameters
2016-08-25 10:52:19 -07:00
Kevin Sawicki
e84d0ebb7e
Merge pull request #6932 from electron/fix-power-save-blocker-doc-bug
...
Fix some invalid docs
2016-08-22 12:30:00 -07:00
Zeke Sikelianos
8c0a551d25
fix linting errors in docs
2016-08-22 11:47:55 -07:00
Ludovic Galabru
38cc56efee
🍎 Send events as native macOS notifications
2016-08-06 14:54:07 +02:00
Anthony Tseng
e0c0e3e5f7
Add IsSwipeTrackingFromScrollEventsEnabled in system prefs
2016-08-03 10:27:56 +08:00
Zeke Sikelianos
06a354a2eb
standardize all javascript blocks in English docs
2016-07-26 09:48:19 -07:00
Charlie Hess
74321dce74
Add systemPreferences.subscribeLocalNotification. ( #6150 )
2016-06-21 00:48:42 +00:00
Blaine Schmeisser
c75f3a8b5e
Add copy/pasta example for system preferences.
...
Most of the other api docs have one example of where to find the module in a copy/paste format. This pull request adds one for the system preferences.
2016-06-19 08:53:34 -07:00
Leonard Lamprecht
67dd19ed0f
Replace OS X and Mac OS with macOS
2016-06-18 15:26:26 +02:00
Charlie Hess
fa3b17444f
All we really need to do is make getUserDefault support array / object types.
2016-06-01 19:21:17 -07:00
Cheng Zhao
97250b53e8
Pass userInfo in subscribeNotification
2016-05-18 14:40:19 +09:00
Plusb Preco
f1b184ef78
📝 Fix code style issue
...
* Change `var` to `let`.
* Change `function() {}` to `() => {}`.
* Use shorthand function syntax on object notation.
* Remove spaces between object notation brackets.
* Small fixes.
2016-05-11 02:15:09 +09:00