| 
									
										
										
										
											2018-03-09 20:16:56 +01:00
										 |  |  | # Official Guides
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-11-21 03:31:52 +02:00
										 |  |  | Please make sure that you use the documents that match your Electron version. | 
					
						
							| 
									
										
										
										
											2015-11-21 04:22:16 +02:00
										 |  |  | The version number should be a part of the page URL. If it's not, you are | 
					
						
							|  |  |  | probably using the documentation of a development branch which may contain API | 
					
						
							| 
									
										
										
										
											2016-09-19 21:09:02 -07:00
										 |  |  | changes that are not compatible with your Electron version. To view older | 
					
						
							|  |  |  | versions of the documentation, you can | 
					
						
							|  |  |  | [browse by tag](https://github.com/electron/electron/tree/v1.4.0) | 
					
						
							|  |  |  | on GitHub by opening the "Switch branches/tags" dropdown and selecting the tag | 
					
						
							|  |  |  | that matches your version. | 
					
						
							| 
									
										
										
										
											2015-11-21 03:31:52 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-05 19:52:57 +08:00
										 |  |  | ## FAQ
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-19 21:09:31 -07:00
										 |  |  | There are questions that are asked quite often. Check this out before creating | 
					
						
							| 
									
										
										
										
											2016-01-05 19:52:57 +08:00
										 |  |  | an issue: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-09 16:14:42 +03:00
										 |  |  | * [Electron FAQ](faq.md) | 
					
						
							| 
									
										
										
										
											2016-01-05 19:52:57 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  | ## Guides and Tutorials
 | 
					
						
							| 
									
										
										
										
											2013-08-14 15:43:35 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  | * [About Electron](tutorial/about.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  | * [Setting up the Development Environment](tutorial/development-environment.md) | 
					
						
							|  |  |  |   * [Setting up macOS](tutorial/development-environment.md#setting-up-macos) | 
					
						
							|  |  |  |   * [Setting up Windows](tutorial/development-environment.md#setting-up-windows) | 
					
						
							|  |  |  |   * [Setting up Linux](tutorial/development-environment.md#setting-up-linux) | 
					
						
							|  |  |  |   * [Choosing an Editor](tutorial/development-environment.md#a-good-editor) | 
					
						
							|  |  |  | * [Creating your First App](tutorial/first-app.md) | 
					
						
							|  |  |  |   * [Installing Electron](tutorial/first-app.md#installing-electron) | 
					
						
							|  |  |  |   * [Electron Development in a Nutshell](tutorial/first-app.md#electron-development-in-a-nutshell) | 
					
						
							|  |  |  |   * [Running Your App](tutorial/first-app.md#running-your-app) | 
					
						
							|  |  |  | * [Boilerplates and CLIs](tutorial/boilerplates-and-clis.md) | 
					
						
							|  |  |  |   * [Boilerplate vs CLI](tutorial/boilerplates-and-clis.md#boilerplate-vs-cli) | 
					
						
							|  |  |  |   * [electron-forge](tutorial/boilerplates-and-clis.md#electron-forge) | 
					
						
							|  |  |  |   * [electron-builder](tutorial/boilerplates-and-clis.md#electron-builder) | 
					
						
							|  |  |  |   * [electron-react-boilerplate](tutorial/boilerplates-and-clis.md#electron-react-boilerplate) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:38:59 -06:00
										 |  |  |   * [Other Tools and Boilerplates](tutorial/boilerplates-and-clis.md#other-tools-and-boilerplates) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  | * [Application Architecture](tutorial/application-architecture.md) | 
					
						
							|  |  |  |   * [Main and Renderer Processes](tutorial/application-architecture.md#main-and-renderer-processes) | 
					
						
							|  |  |  |   * [Using Electron's APIs](tutorial/application-architecture.md#using-electron-apis) | 
					
						
							| 
									
										
										
										
											2018-06-16 03:43:03 +03:00
										 |  |  |   * [Using Node.js APIs](tutorial/application-architecture.md#using-nodejs-apis) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  |   * [Using Native Node.js Modules](tutorial/using-native-node-modules.md) | 
					
						
							| 
									
										
										
										
											2019-10-25 12:58:20 -07:00
										 |  |  |   * [Performance Strategies](tutorial/performance.md) | 
					
						
							| 
									
										
										
										
											2018-02-20 09:47:18 -06:00
										 |  |  | * Adding Features to Your App | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  |   * [Notifications](tutorial/notifications.md) | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  |   * [Recent Documents](tutorial/recent-documents.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:25:02 -06:00
										 |  |  |   * [Application Progress](tutorial/progress-bar.md) | 
					
						
							| 
									
										
										
										
											2018-06-16 03:43:03 +03:00
										 |  |  |   * [Custom Dock Menu](tutorial/macos-dock.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  |   * [Custom Windows Taskbar](tutorial/windows-taskbar.md) | 
					
						
							| 
									
										
										
										
											2018-02-20 09:47:18 -06:00
										 |  |  |   * [Custom Linux Desktop Actions](tutorial/linux-desktop-actions.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  |   * [Keyboard Shortcuts](tutorial/keyboard-shortcuts.md) | 
					
						
							|  |  |  |   * [Offline/Online Detection](tutorial/online-offline-events.md) | 
					
						
							| 
									
										
										
										
											2018-02-20 09:47:18 -06:00
										 |  |  |   * [Represented File for macOS BrowserWindows](tutorial/represented-file.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:25:02 -06:00
										 |  |  |   * [Native File Drag & Drop](tutorial/native-file-drag-drop.md) | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  |   * [Offscreen Rendering](tutorial/offscreen-rendering.md) | 
					
						
							|  |  |  |   * [Supporting macOS Dark Mode](tutorial/mojave-dark-mode-guide.md) | 
					
						
							| 
									
										
										
										
											2020-01-09 18:29:22 +01:00
										 |  |  |   * [Web embeds in Electron](tutorial/web-embeds.md) | 
					
						
							| 
									
										
										
										
											2018-05-01 17:56:44 -07:00
										 |  |  | * [Accessibility](tutorial/accessibility.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  |   * [Spectron](tutorial/accessibility.md#spectron) | 
					
						
							|  |  |  |   * [Devtron](tutorial/accessibility.md#devtron) | 
					
						
							|  |  |  |   * [Enabling Accessibility](tutorial/accessibility.md#enabling-accessibility) | 
					
						
							| 
									
										
										
										
											2018-05-01 17:56:44 -07:00
										 |  |  | * [Testing and Debugging](tutorial/application-debugging.md) | 
					
						
							| 
									
										
										
										
											2018-02-21 10:12:19 -08:00
										 |  |  |   * [Debugging the Main Process](tutorial/debugging-main-process.md) | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  |   * [Debugging the Main Process with Visual Studio Code](tutorial/debugging-main-process-vscode.md) | 
					
						
							| 
									
										
										
										
											2018-02-21 10:12:19 -08:00
										 |  |  |   * [Using Selenium and WebDriver](tutorial/using-selenium-and-webdriver.md) | 
					
						
							|  |  |  |   * [Testing on Headless CI Systems (Travis, Jenkins)](tutorial/testing-on-headless-ci.md) | 
					
						
							|  |  |  |   * [DevTools Extension](tutorial/devtools-extension.md) | 
					
						
							| 
									
										
										
										
											2018-04-20 11:39:13 -05:00
										 |  |  |   * [Automated Testing with a Custom Driver](tutorial/automated-testing-with-a-custom-driver.md) | 
					
						
							| 
									
										
										
										
											2018-05-01 17:56:44 -07:00
										 |  |  | * [Distribution](tutorial/application-distribution.md) | 
					
						
							| 
									
										
										
										
											2019-06-15 01:13:52 -07:00
										 |  |  |   * [Supported Platforms](tutorial/support.md#supported-platforms) | 
					
						
							|  |  |  |   * [Code Signing](tutorial/code-signing.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  |   * [Mac App Store](tutorial/mac-app-store-submission-guide.md) | 
					
						
							|  |  |  |   * [Windows Store](tutorial/windows-store-guide.md) | 
					
						
							|  |  |  |   * [Snapcraft](tutorial/snapcraft.md) | 
					
						
							| 
									
										
										
										
											2018-05-01 17:56:44 -07:00
										 |  |  | * [Security](tutorial/security.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  |   * [Reporting Security Issues](tutorial/security.md#reporting-security-issues) | 
					
						
							|  |  |  |   * [Chromium Security Issues and Upgrades](tutorial/security.md#chromium-security-issues-and-upgrades) | 
					
						
							|  |  |  |   * [Electron Security Warnings](tutorial/security.md#electron-security-warnings) | 
					
						
							|  |  |  |   * [Security Checklist](tutorial/security.md#checklist-security-recommendations) | 
					
						
							| 
									
										
										
										
											2018-05-01 17:56:44 -07:00
										 |  |  | * [Updates](tutorial/updates.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  |   * [Deploying an Update Server](tutorial/updates.md#deploying-an-update-server) | 
					
						
							|  |  |  |   * [Implementing Updates in Your App](tutorial/updates.md#implementing-updates-in-your-app) | 
					
						
							|  |  |  |   * [Applying Updates](tutorial/updates.md#applying-updates) | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  | * [Getting Support](tutorial/support.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## Detailed Tutorials
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-21 10:12:19 -08:00
										 |  |  | These individual tutorials expand on topics discussed in the guide above. | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  | * [Installing Electron](tutorial/installation.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  |   * [Proxies](tutorial/installation.md#proxies) | 
					
						
							|  |  |  |   * [Custom Mirrors and Caches](tutorial/installation.md#custom-mirrors-and-caches) | 
					
						
							|  |  |  |   * [Troubleshooting](tutorial/installation.md#troubleshooting) | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  | * Electron Releases & Developer Feedback | 
					
						
							|  |  |  |   * [Versioning Policy](tutorial/electron-versioning.md) | 
					
						
							|  |  |  |   * [Release Timelines](tutorial/electron-timelines.md) | 
					
						
							|  |  |  |   * [App Feedback Program](tutorial/app-feedback-program.md) | 
					
						
							|  |  |  | * [Packaging App Source Code with asar](tutorial/application-packaging.md) | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  |   * [Generating asar Archives](tutorial/application-packaging.md#generating-asar-archives) | 
					
						
							|  |  |  |   * [Using asar Archives](tutorial/application-packaging.md#using-asar-archives) | 
					
						
							|  |  |  |   * [Limitations](tutorial/application-packaging.md#limitations-of-the-node-api) | 
					
						
							|  |  |  |   * [Adding Unpacked Files to asar Archives](tutorial/application-packaging.md#adding-unpacked-files-to-asar-archives) | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  | * [Testing Widevine CDM](tutorial/testing-widevine-cdm.md) | 
					
						
							|  |  |  | * [Using Pepper Flash Plugin](tutorial/using-pepper-flash-plugin.md) | 
					
						
							| 
									
										
										
										
											2015-03-17 18:37:18 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-20 09:47:18 -06:00
										 |  |  | --- | 
					
						
							| 
									
										
										
										
											2015-03-17 18:37:18 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-19 18:09:58 -06:00
										 |  |  | * [Glossary of Terms](glossary.md) | 
					
						
							| 
									
										
										
										
											2013-08-14 15:43:35 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-09-04 13:50:26 -07:00
										 |  |  | ## API References
 | 
					
						
							| 
									
										
										
										
											2013-08-14 15:43:35 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-05-05 14:49:05 +08:00
										 |  |  | * [Synopsis](api/synopsis.md) | 
					
						
							| 
									
										
										
										
											2015-09-04 13:50:26 -07:00
										 |  |  | * [Process Object](api/process.md) | 
					
						
							| 
									
										
										
										
											2019-10-04 19:49:09 +02:00
										 |  |  | * [Supported Command Line Switches](api/command-line-switches.md) | 
					
						
							| 
									
										
										
										
											2015-11-26 20:37:48 +08:00
										 |  |  | * [Environment Variables](api/environment-variables.md) | 
					
						
							| 
									
										
										
										
											2020-02-06 13:36:02 -08:00
										 |  |  | * [Chrome Extensions Support](api/extensions.md) | 
					
						
							| 
									
										
										
										
											2020-01-28 14:19:18 -08:00
										 |  |  | * [Breaking API Changes](breaking-changes.md) | 
					
						
							| 
									
										
										
										
											2014-05-05 14:49:05 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-09-04 14:31:33 -07:00
										 |  |  | ### Custom DOM Elements:
 | 
					
						
							| 
									
										
										
										
											2014-10-25 14:58:32 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-09-04 13:50:26 -07:00
										 |  |  | * [`File` Object](api/file-object.md) | 
					
						
							| 
									
										
										
										
											2016-11-09 15:04:00 -08:00
										 |  |  | * [`<webview>` Tag](api/webview-tag.md) | 
					
						
							| 
									
										
										
										
											2015-09-04 13:50:26 -07:00
										 |  |  | * [`window.open` Function](api/window-open.md) | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  | * [`BrowserWindowProxy` Object](api/browser-window-proxy.md) | 
					
						
							| 
									
										
										
										
											2014-10-25 14:58:32 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-09-04 14:31:33 -07:00
										 |  |  | ### Modules for the Main Process:
 | 
					
						
							| 
									
										
										
										
											2013-08-14 15:43:35 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-05-05 14:24:57 +08:00
										 |  |  | * [app](api/app.md) | 
					
						
							| 
									
										
										
										
											2015-11-12 21:20:09 +08:00
										 |  |  | * [autoUpdater](api/auto-updater.md) | 
					
						
							| 
									
										
										
										
											2017-05-22 17:12:17 +03:00
										 |  |  | * [BrowserView](api/browser-view.md) | 
					
						
							| 
									
										
										
										
											2015-11-12 21:20:09 +08:00
										 |  |  | * [BrowserWindow](api/browser-window.md) | 
					
						
							|  |  |  | * [contentTracing](api/content-tracing.md) | 
					
						
							| 
									
										
										
										
											2014-05-05 14:24:57 +08:00
										 |  |  | * [dialog](api/dialog.md) | 
					
						
							| 
									
										
										
										
											2015-11-12 21:20:09 +08:00
										 |  |  | * [globalShortcut](api/global-shortcut.md) | 
					
						
							| 
									
										
										
										
											2018-01-10 17:21:52 +09:00
										 |  |  | * [inAppPurchase](api/in-app-purchase.md) | 
					
						
							| 
									
										
										
										
											2015-11-12 21:20:09 +08:00
										 |  |  | * [ipcMain](api/ipc-main.md) | 
					
						
							|  |  |  | * [Menu](api/menu.md) | 
					
						
							|  |  |  | * [MenuItem](api/menu-item.md) | 
					
						
							| 
									
										
										
										
											2016-11-01 16:50:55 +01:00
										 |  |  | * [net](api/net.md) | 
					
						
							| 
									
										
										
										
											2018-06-22 13:43:39 +10:00
										 |  |  | * [netLog](api/net-log.md) | 
					
						
							| 
									
										
										
										
											2019-09-19 23:30:01 -07:00
										 |  |  | * [Notification](api/notification.md) | 
					
						
							| 
									
										
										
										
											2015-11-12 21:20:09 +08:00
										 |  |  | * [powerMonitor](api/power-monitor.md) | 
					
						
							|  |  |  | * [powerSaveBlocker](api/power-save-blocker.md) | 
					
						
							| 
									
										
										
										
											2014-05-05 14:24:57 +08:00
										 |  |  | * [protocol](api/protocol.md) | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  | * [screen](api/screen.md) | 
					
						
							| 
									
										
										
										
											2015-08-20 15:25:22 +02:00
										 |  |  | * [session](api/session.md) | 
					
						
							| 
									
										
										
										
											2016-04-25 15:36:38 +09:00
										 |  |  | * [systemPreferences](api/system-preferences.md) | 
					
						
							| 
									
										
										
										
											2019-06-06 20:39:21 +02:00
										 |  |  | * [TouchBar](api/touch-bar.md) | 
					
						
							| 
									
										
										
										
											2015-11-12 21:20:09 +08:00
										 |  |  | * [Tray](api/tray.md) | 
					
						
							| 
									
										
										
										
											2016-07-08 03:33:22 +03:00
										 |  |  | * [webContents](api/web-contents.md) | 
					
						
							| 
									
										
										
										
											2013-08-14 15:43:35 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-09-04 14:31:33 -07:00
										 |  |  | ### Modules for the Renderer Process (Web Page):
 | 
					
						
							| 
									
										
										
										
											2013-08-14 15:43:35 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-12-08 12:43:44 +08:00
										 |  |  | * [desktopCapturer](api/desktop-capturer.md) | 
					
						
							| 
									
										
										
										
											2015-11-12 21:20:09 +08:00
										 |  |  | * [ipcRenderer](api/ipc-renderer.md) | 
					
						
							| 
									
										
										
										
											2014-05-05 14:24:57 +08:00
										 |  |  | * [remote](api/remote.md) | 
					
						
							| 
									
										
										
										
											2015-11-12 21:20:09 +08:00
										 |  |  | * [webFrame](api/web-frame.md) | 
					
						
							| 
									
										
										
										
											2013-08-14 15:43:35 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-09-04 14:31:33 -07:00
										 |  |  | ### Modules for Both Processes:
 | 
					
						
							| 
									
										
										
										
											2013-08-14 15:43:35 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-05-05 14:24:57 +08:00
										 |  |  | * [clipboard](api/clipboard.md) | 
					
						
							| 
									
										
										
										
											2015-11-12 21:20:09 +08:00
										 |  |  | * [crashReporter](api/crash-reporter.md) | 
					
						
							|  |  |  | * [nativeImage](api/native-image.md) | 
					
						
							| 
									
										
										
										
											2014-05-05 14:24:57 +08:00
										 |  |  | * [shell](api/shell.md) | 
					
						
							| 
									
										
										
										
											2014-05-05 14:49:05 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## Development
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-20 11:39:13 -05:00
										 |  |  | See [development/README.md](development/README.md) |