Electron Documentation1.4.14

Docs / API

API Reference

APIProcessesDescription
Accelerator Main Define keyboard shortcuts.
app Main Control your application's event lifecycle.
autoUpdater Main Enable apps to automatically update themselves.
BrowserWindow Main Create and control browser windows.
BrowserWindowProxy Renderer Manipulate the child browser window
Supported Chrome Command Line Switches Main Command line switches supported by Electron.
ClientRequest Main Make HTTP/HTTPS requests.
clipboard Main and Renderer Perform copy and paste operations on the system clipboard.
contentTracing Main Collect tracing data from Chromium's content module for finding performance bottlenecks and slow operations.
Cookies Main Query and modify a session's cookies.
crashReporter Main and Renderer Submit crash reports to a remote server.
Debugger Main An alternate transport for Chrome's remote debugging protocol.
desktopCapturer Renderer Access information about media sources that can be used to capture audio and video from the desktop using the navigator.webkitGetUserMedia API.
dialog Main Display native system dialogs for opening and saving files, alerting, etc.
DownloadItem Main Control file downloads from remote sources.
Environment Variables Main and Renderer Control application configuration and behavior without changing code.
File Object Renderer Use the HTML5 File API to work natively with files on the filesystem.
Frameless Window Main Open a window without toolbars, borders, or other graphical "chrome".
globalShortcut Main Detect keyboard events when the application does not have keyboard focus.
IncomingMessage Main Handle responses to HTTP/HTTPS requests.
ipcMain Main Communicate asynchronously from the main process to renderer processes.
ipcRenderer Renderer Communicate asynchronously from a renderer process to the main process.
Locales Main Locale values returned by app.getLocale().
Menu Main Create native application menus and context menus.
MenuItem Main Add items to native application menus and context menus.
nativeImage Main and Renderer Create tray, dock, and application icons using PNG or JPG files.
net Main Issue HTTP/HTTPS requests using Chromium's native networking library
powerMonitor Main Monitor power state changes.
powerSaveBlocker Main Block the system from entering low-power (sleep) mode.
process Main and Renderer Extensions to process object.
protocol Main Register a custom protocol and intercept existing protocol requests.
remote Renderer Use main process modules from the renderer process.
screen Main and Renderer Retrieve information about screen size, displays, cursor position, etc.
session Main Manage browser sessions, cookies, cache, proxy settings, etc.
shell Main and Renderer Manage files and URLs using their default applications.
Synopsis Main and Renderer How to use Node.js and Electron APIs.
systemPreferences Main Get system preferences.
Tray Main Add icons and context menus to the system's notification area.
webContents Main Render and control web pages.
webFrame Renderer Customize the rendering of the current web page.
WebRequest Main Intercept and modify the contents of a request at various stages of its lifetime.
<webview> Tag Renderer Display external web content in an isolated frame and process.
<webview> Tag Renderer Display external web content in an isolated frame and process.
window.open Function Renderer Open a new window and load a URL.