electron/docs/README.md

166 lines
6.9 KiB
Markdown
Raw Normal View History

2018-03-09 19:16:56 +00:00
# Official Guides
Please make sure that you use the documents that match your Electron version.
2015-11-21 02:22:16 +00: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
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.
2016-01-05 11:52:57 +00:00
## FAQ
2016-09-20 04:09:31 +00:00
There are questions that are asked quite often. Check this out before creating
2016-01-05 11:52:57 +00:00
an issue:
* [Electron FAQ](faq.md)
2016-01-05 11:52:57 +00:00
2018-02-20 00:09:58 +00:00
## Guides and Tutorials
2013-08-14 22:43:35 +00:00
### Quickstart
* [Quick Start Guide](tutorial/quick-start.md)
* [Prerequisites](tutorial/quick-start.md#prerequisites)
* [Create a basic application](tutorial/quick-start.md#create-a-basic-application)
* [Run your application](tutorial/quick-start.md#run-your-application)
* [Package and distribute the application](tutorial/quick-start.md#package-and-distribute-the-application)
### Learning the basics
* [Electron's Process Model](tutorial/quick-start.md#application-architecture)
* [Main and Renderer Processes](tutorial/quick-start.md#main-and-renderer-processes)
* [Electron API](tutorial/quick-start.md#electron-api)
* [Node.js API](tutorial/quick-start.md#nodejs-api)
2018-02-20 15:47:18 +00:00
* Adding Features to Your App
2018-02-20 00:09:58 +00:00
* [Notifications](tutorial/notifications.md)
* [Recent Documents](tutorial/recent-documents.md)
2018-02-20 00:25:02 +00:00
* [Application Progress](tutorial/progress-bar.md)
* [Custom Dock Menu](tutorial/macos-dock.md)
2018-02-20 00:09:58 +00:00
* [Custom Windows Taskbar](tutorial/windows-taskbar.md)
2018-02-20 15:47:18 +00:00
* [Custom Linux Desktop Actions](tutorial/linux-desktop-actions.md)
2018-02-20 00:09:58 +00:00
* [Keyboard Shortcuts](tutorial/keyboard-shortcuts.md)
* [Offline/Online Detection](tutorial/online-offline-events.md)
2018-02-20 15:47:18 +00:00
* [Represented File for macOS BrowserWindows](tutorial/represented-file.md)
2018-02-20 00:25:02 +00:00
* [Native File Drag & Drop](tutorial/native-file-drag-drop.md)
* [Offscreen Rendering](tutorial/offscreen-rendering.md)
* [Dark Mode](tutorial/dark-mode.md)
* [Web embeds in Electron](tutorial/web-embeds.md)
* [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)
* [Other Tools and Boilerplates](tutorial/boilerplates-and-clis.md#other-tools-and-boilerplates)
### Advanced steps
* Application Architecture
* [Using Native Node.js Modules](tutorial/using-native-node-modules.md)
* [Performance Strategies](tutorial/performance.md)
* [Security Strategies](tutorial/security.md)
* [Accessibility](tutorial/accessibility.md)
* [Manually Enabling Accessibility Features](tutorial/accessibility.md#manually-enabling-accessibility-features)
* [Testing and Debugging](tutorial/application-debugging.md)
2018-02-21 18:12:19 +00:00
* [Debugging the Main Process](tutorial/debugging-main-process.md)
* [Debugging with Visual Studio Code](tutorial/debugging-vscode.md)
2018-02-21 18:12:19 +00: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)
* [Automated Testing with a Custom Driver](tutorial/automated-testing-with-a-custom-driver.md)
* [Distribution](tutorial/application-distribution.md)
* [Supported Platforms](tutorial/support.md#supported-platforms)
* [Code Signing](tutorial/code-signing.md)
2018-02-20 00:09:58 +00:00
* [Mac App Store](tutorial/mac-app-store-submission-guide.md)
* [Windows Store](tutorial/windows-store-guide.md)
* [Snapcraft](tutorial/snapcraft.md)
* [Updates](tutorial/updates.md)
2018-02-20 00:09:58 +00: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)
* [Getting Support](tutorial/support.md)
2018-02-20 00:09:58 +00:00
## Detailed Tutorials
2018-02-21 18:12:19 +00:00
These individual tutorials expand on topics discussed in the guide above.
2018-02-20 00:09:58 +00:00
* [Installing Electron](tutorial/installation.md)
2018-02-20 00:09:58 +00:00
* [Proxies](tutorial/installation.md#proxies)
* [Custom Mirrors and Caches](tutorial/installation.md#custom-mirrors-and-caches)
* [Troubleshooting](tutorial/installation.md#troubleshooting)
* Electron Releases & Developer Feedback
* [Versioning Policy](tutorial/electron-versioning.md)
* [Release Timelines](tutorial/electron-timelines.md)
* [Packaging App Source Code with asar](tutorial/application-packaging.md)
2018-02-20 00:09:58 +00: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)
* [Testing Widevine CDM](tutorial/testing-widevine-cdm.md)
2015-03-17 10:37:18 +00:00
2018-02-20 15:47:18 +00:00
---
2015-03-17 10:37:18 +00:00
2018-02-20 00:09:58 +00:00
* [Glossary of Terms](glossary.md)
2013-08-14 22:43:35 +00:00
2015-09-04 20:50:26 +00:00
## API References
2013-08-14 22:43:35 +00:00
2014-05-05 06:49:05 +00:00
* [Synopsis](api/synopsis.md)
2015-09-04 20:50:26 +00:00
* [Process Object](api/process.md)
* [Supported Command Line Switches](api/command-line-switches.md)
2015-11-26 12:37:48 +00:00
* [Environment Variables](api/environment-variables.md)
* [Chrome Extensions Support](api/extensions.md)
* [Breaking API Changes](breaking-changes.md)
2014-05-05 06:49:05 +00:00
2015-09-04 21:31:33 +00:00
### Custom DOM Elements:
2014-10-25 06:58:32 +00:00
2015-09-04 20:50:26 +00:00
* [`File` Object](api/file-object.md)
2016-11-09 23:04:00 +00:00
* [`<webview>` Tag](api/webview-tag.md)
2015-09-04 20:50:26 +00:00
* [`window.open` Function](api/window-open.md)
* [`BrowserWindowProxy` Object](api/browser-window-proxy.md)
2014-10-25 06:58:32 +00:00
2015-09-04 21:31:33 +00:00
### Modules for the Main Process:
2013-08-14 22:43:35 +00:00
* [app](api/app.md)
* [autoUpdater](api/auto-updater.md)
2017-05-22 14:12:17 +00:00
* [BrowserView](api/browser-view.md)
* [BrowserWindow](api/browser-window.md)
* [contentTracing](api/content-tracing.md)
* [dialog](api/dialog.md)
* [globalShortcut](api/global-shortcut.md)
2018-01-10 08:21:52 +00:00
* [inAppPurchase](api/in-app-purchase.md)
* [ipcMain](api/ipc-main.md)
* [Menu](api/menu.md)
* [MenuItem](api/menu-item.md)
2016-11-01 15:50:55 +00:00
* [net](api/net.md)
2018-06-22 03:43:39 +00:00
* [netLog](api/net-log.md)
* [nativeTheme](api/native-theme.md)
* [Notification](api/notification.md)
* [powerMonitor](api/power-monitor.md)
* [powerSaveBlocker](api/power-save-blocker.md)
* [protocol](api/protocol.md)
* [screen](api/screen.md)
2015-08-20 13:25:22 +00:00
* [session](api/session.md)
2016-04-25 06:36:38 +00:00
* [systemPreferences](api/system-preferences.md)
* [TouchBar](api/touch-bar.md)
* [Tray](api/tray.md)
* [webContents](api/web-contents.md)
* [webFrameMain](api/web-frame-main.md)
2013-08-14 22:43:35 +00:00
2015-09-04 21:31:33 +00:00
### Modules for the Renderer Process (Web Page):
2013-08-14 22:43:35 +00:00
* [desktopCapturer](api/desktop-capturer.md)
* [ipcRenderer](api/ipc-renderer.md)
* [remote](api/remote.md)
* [webFrame](api/web-frame.md)
2013-08-14 22:43:35 +00:00
2015-09-04 21:31:33 +00:00
### Modules for Both Processes:
2013-08-14 22:43:35 +00:00
* [clipboard](api/clipboard.md)
* [crashReporter](api/crash-reporter.md)
* [nativeImage](api/native-image.md)
* [shell](api/shell.md)
2014-05-05 06:49:05 +00:00
## Development
See [development/README.md](development/README.md)