electron/docs/api
Raymond Zhao 5fc3ed936e
feat: add app.getPreferredSystemLanguages() API (#36035)
* feat: add app.getSystemLanguage() API

* Change the API to getPreferredSystemLanguages

* Fix test

* Clarify docs and add Linux impl

* Remove USE_GLIB

* Don't add C to list

* Remove examples since there's a lot of edge cases

* Fix lint

* Add examples

* Fix compile error

* Apply PR feedback

* Update the example
2022-11-09 10:50:43 -05:00
..
structures feat: replace scroll-touch* with generic input-event (#35531) 2022-09-27 12:47:46 -07:00
accelerator.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
app.md feat: add app.getPreferredSystemLanguages() API (#36035) 2022-11-09 10:50:43 -05:00
auto-updater.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
browser-view.md docs: document when BrowserWindow and BrowserView can be used (#33696) 2022-04-18 10:11:44 -04:00
browser-window.md feat: Add BrowserWindow option to hide window in Mission Control (macOS) (#36092) 2022-11-01 16:43:42 -04:00
client-request.md docs: update links to Chromium source (#33309) 2022-03-17 13:45:55 +01:00
clipboard.md docs: fix missing tag end in clipboard example (#32673) 2022-02-01 17:57:33 +09:00
command-line-switches.md docs: update links to Chromium source (#33309) 2022-03-17 13:45:55 +01:00
command-line.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
content-tracing.md docs: update links to Chromium source (#33309) 2022-03-17 13:45:55 +01:00
context-bridge.md feat: add exposeInIsolatedWorld(worldId, key, api) to contextBridge (#34974) 2022-09-21 13:17:10 -05:00
cookies.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
crash-reporter.md docs: add Bugsnag as a 3rd party crash server (#32053) 2022-01-03 14:48:15 -05:00
debugger.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
desktop-capturer.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
dialog.md docs: explicitly allow string for MessageBoxOptions.icon (#32422) 2022-01-13 10:30:15 +09:00
dock.md docs: Remove the latin words from doc (#32641) 2022-01-28 12:40:20 -08:00
download-item.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
environment-variables.md chore: fix typos (#34731) 2022-07-05 11:49:56 -04:00
extensions.md feat: implement chrome.tabs.reload (#33560) 2022-04-11 22:51:10 +02:00
file-object.md docs: es6ify 'Breaking Changes' and 'File' API pages (#15507) 2018-12-05 23:14:52 +11:00
global-shortcut.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
in-app-purchase.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
incoming-message.md feat: add rawHeaders to IncomingMessage (#31853) 2022-01-24 11:46:15 -05:00
ipc-main.md docs: add IPC doc (#32059) 2022-02-09 11:00:05 -05:00
ipc-renderer.md docs: document that when invoke rejects, it gives a different Error (#36127) 2022-10-26 13:56:41 -07:00
menu-item.md docs: fixed MenuItem documentation to use the same formatting for all role options (#36112) 2022-10-24 14:51:50 -04:00
menu.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
message-channel-main.md docs: uniformize module API doc format (#28920) 2021-04-29 09:56:31 +02:00
message-port-main.md fix: ensure the typescript definitions only export correct value types (#28712) 2021-06-15 13:50:31 -07:00
native-image.md test: migrate nativeImage specs to main (#35062) 2022-07-26 09:57:01 +02:00
native-theme.md feat: add nativeTheme.inForcedColorsMode (#32956) 2022-03-21 10:30:02 +01:00
net-log.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
net.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
notification.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
parent-port.md feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -07:00
power-monitor.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
power-save-blocker.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
process.md feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -07:00
protocol.md docs: improve registerFileProtocol example (#35580) 2022-09-07 14:45:09 -04:00
push-notifications.md feat: Enable APNS registration + notification delivery in macOS apps (#33574) 2022-07-12 08:38:49 -07:00
safe-storage.md fix: fix a crash in safeStorage on Linux (#33913) 2022-05-09 09:38:53 -04:00
screen.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
service-workers.md chore: bump chromium to 99.0.4767.0 (main) (#31986) 2022-01-10 17:31:39 -05:00
session.md chore: bump chromium to 109.0.5382.0 (main) (#36057) 2022-10-27 12:37:04 -04:00
share-menu.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
shell.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
synopsis.md docs: rework introduction docs (#29062) 2021-05-24 11:32:36 +09:00
system-preferences.md feat: allow null when subscribing notification (#33641) 2022-04-13 22:02:33 +02:00
touch-bar-button.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-color-picker.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-group.md fix: ensure the typescript definitions only export correct value types (#28712) 2021-06-15 13:50:31 -07:00
touch-bar-label.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-other-items-proxy.md fix: ensure the typescript definitions only export correct value types (#28712) 2021-06-15 13:50:31 -07:00
touch-bar-popover.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-scrubber.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-segmented-control.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-slider.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-spacer.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar.md docs: uniformize module API doc format (#28920) 2021-04-29 09:56:31 +02:00
tray.md docs: update tray docs with info for mac menubar icons (#35136) 2022-08-04 11:24:32 +02:00
utility-process.md feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -07:00
web-contents.md refactor: eliminate DecrementCapturerCount patch (#35710) 2022-10-05 19:51:33 +02:00
web-frame-main.md feat: webFrameMain.origin (#35438) 2022-08-31 17:40:57 -07:00
web-frame.md docs: update heading level of webFrame.insertCSS (#33467) 2022-03-29 16:02:30 +09:00
web-request.md docs: correcting main example in WebRequest documentation (#36113) 2022-10-27 16:18:07 +09:00
webview-tag.md chore: remove deprecated 'new-window' event (#34526) 2022-08-09 17:57:05 -04:00
window-open.md feat: add ability to configure if window should close when opener closes (#31314) 2022-02-23 16:59:50 +09:00