
Taking everything into consideration, Electron API Demos is probably the most useful application for any rookie developer that aims to build a cross-platform and native applications by wrapping web apps with the help of Electron.Īnother noteworthy aspect is the fact that since the utility is itself Electron-based, it can be used on macOS and Linux just as efficiently. Just click the 'View Demo' button and you should get an instant example of what you should be implementing in your future Electron-based app. Live demos just one click awayįor your convenience, the app also offers live demonstrations of Electron's basic functionality. Note: This API cannot be called before the ready event of the app module is emitted. BrowserWindow.getExtensions() Returns Object - The keys are the extension names and each value is an Object containing name and version properties.
ELECTRON API DOCUMENTATION HOW TO
For example, within the Windows section, you can easily learn how to create a new window or a frameless window, as well as to manage a window state. Note: This API cannot be called before the ready event of the app module is emitted. The categories are as follows: Windows, Menus, Native User Interface, Communication, System and Media.Įach group offers an essential insight into Electron's basic features. The API demos are well-organized in specific categories and can be easily accessed from the panel on the left side of the main window. Upon launching the app, you are met by a 'Welcome' screen that offers a few insights about the app's purpose and structure. The piece of software undergoes a typical and surprise-free installation process. Learn Electron the fast, easy and fun wayīuilt by the same team behind the aforementioned framework itself, the utility provides you with a quick way to understanding what Electron is all about and, ultimately, towards building your first basic Electron app. This said, you can get a head start with a very useful and exciting app named Electron API Demos. While there is a hefty amount of documentation behind Electron, as a beginner, you clearly need all the assistance you can get. Note that on Mac, access to the system Keychain is required and these calls can block the current thread to collect user input.

ELECTRON API DOCUMENTATION FULL
Process: Main This module protects data stored on disk from being accessed by other applications or users with full disk access.


Combining the latest and some of the most reliable web technologies to date, Electron is a modern framework and probably one of the best choices for wrapping web apps for desktop use with the help of JavaScript, HTML and CSS. safeStorage Allows access to simple encryption and decryption of strings for storage on the local machine.
