© Chris Griffith, Leif Wells 2017

Chris Griffith and Leif Wells, Electron: From Beginner to Pro, https://doi.org/10.1007/978-1-4842-2826-5_4

4. BrowserWindow Basics

Chris Griffith and Leif Wells2

(1)San Diego, California, USA

(2)Atlanta, Georgia, USA

As explained in earlier chapters, the Renderer Process is where your application appears. The Renderer Process uses Chromium to render your user interface. The Main Process creates Renderer Processes by creating instances of the BrowserWindow object.

In this chapter, we explore the basic options for creating BrowserWindow instances as well as explore the frameless and transparent window types.

Getting Started

Let’s take a moment to make this package.json match our own by updating some nodes.

  1. Change the ...

Get Electron: From Beginner to Pro: Learn to Build Cross Platform Desktop Applications using Github's Electron now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.