इलेक्ट्रान दस्तावेज़ीकरण

Docs / API

APIProcessesDescription
Accelerator Main Define keyboard shortcuts.
एप्प Control your application's event lifecycle.
स्वतः अपडेटर Enable apps to automatically update themselves.
Breaking Changes
Breaking changes (NetworkService) (Draft)
BrowserView Create and control views.
ब्राउज़र विंडो Create and control browser windows.
BrowserWindowProxy Renderer Manipulate the child browser window
समर्थित क्रोम आदेश पंक्ति स्विचेस Command line switches supported by Electron.
ClientRequest Main Make HTTP/HTTPS requests.
क्लिपबोर्ड Perform copy and paste operations on the system clipboard.
CommandLine Manipulate the command line arguments for your app that Chromium reads
कंटेंट ट्रेसिंग Collect tracing data from Chromium to find performance bottlenecks and slow operations.
contextBridge Create a safe, bi-directional, synchronous bridge across isolated contexts
Cookies Main Query and modify a session's cookies.
क्रेश रिपोर्टर Submit crash reports to a remote server.https://www.linkedin.com/in/alfaiz-khan-1a183b144/ https://www.linkedin.com/in/alfaiz-khan-1a183b144/
Debugger Main An alternate transport for Chrome's remote debugging protocol.
डेस्कटॉप कैप्चरर Access information about media sources that can be used to capture audio and video from the desktop using the [navigator.mediaDevices.getUserMedia] API.
डायलॉग Display native system dialogs for opening and saving files, alerting, etc.
Dock Control your app in the macOS dock
DownloadItem Main Control file downloads from remote sources.
वातावरण वेरिएबल्स Control application configuration and behavior without changing code.
फाइल ऑब्जेक्ट 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".
वैश्विक शॉर्टकट Detect keyboard events when the application does not have keyboard focus.
एेप में से खरीददारी एेप के अन्दर से ही मैक-स्टोर से खरीददारी
IncomingMessage Main Handle responses to HTTP/HTTPS requests.
आईपीसी मुख्य Communicate asynchronously from the main process to renderer processes.
आईपीसी रेंदेरेर 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.
मूल छवि Create tray, dock, and application icons using PNG or JPG files.
nativeTheme Read and respond to changes in Chromium's native color theme.
नेट Issue HTTP/HTTPS requests using Chromium's native networking library
netLog Logging network events for a session.
Notification Create OS desktop notifications
पॉवर मॉनिटर Monitor power state changes.
पॉवर सेवब्लॉकर Block the system from entering low-power (sleep) mode.
प्रक्रिया Extensions to process object.
प्रोटोकॉल Register a custom protocol and intercept existing protocol requests.
protocol (NetworkService) (Draft) Register a custom protocol and intercept existing protocol requests.
दूरस्थ Use main process modules from the renderer process.
sandbox Option Create a browser window with a sandboxed renderer. With this option enabled, the renderer must communicate via IPC to the main process in order to access node APIs.
स्क्रीन Retrieve information about screen size, displays, cursor position, etc.
सत्र Manage browser sessions, cookies, cache, proxy settings, etc.
शैल Manage files and URLs using their default applications.
सार How to use Node.js and Electron APIs.
सिस्टम प्रैफरेंसेज Get system preferences.
TouchBar Main Create TouchBar layouts for native macOS applications
TouchBarButton Main Create a button in the touch bar for native macOS applications
TouchBarColorPicker Main Create a color picker in the touch bar for native macOS applications
TouchBarGroup Main Create a group in the touch bar for native macOS applications
TouchBarLabel Main Create a label in the touch bar for native macOS applications
TouchBarPopover Main Create a popover in the touch bar for native macOS applications
TouchBarScrubber Main Create a scrubber (a scrollable selector)
TouchBarSegmentedControl Main Create a segmented control (a button group) where one button has a selected state
TouchBarSlider Main Create a slider in the touch bar for native macOS applications
TouchBarSpacer Main Create a spacer between two items in the touch bar for native macOS applications
वर्ग: ट्रे Add icons and context menus to the system's notification area.
वेबसामग्री Render and control web pages.
वेबफ्रेम 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> टैग Display external web content in an isolated frame and process.
विंडो.ओपन फंक्शन Open a new window and load a URL.

कीबोर्ड शोर्टकट्स

Key Action
/ Focus the search bar
Esc Focus the search bar and cleans it
Select the next search result
Select the previous search result
Enter Open the selected search result
cmdEnter Ctrl+Enter Open the selected search result in a new tab