November 2019
Beginner
436 pages
8h 52m
English
For the screenshot snipping tool, we need a minimal window, known as a Chrome, so that we can select a portion of the screen to make a screenshot. Due to this, we need to use an Electron feature called frameless windows, which allows you to open a window without toolbars, borders, or other graphical chromes.
We are only going to touch on the basics that you will need to implement for the application. For now, let's learn how to create a basic frameless window:
win = new BrowserWindow({ width: 800, height: 600, webPreferences: { nodeIntegration: ...Read now
Unlock full access