How to integrate Electron ipcRenderer into Angular app based on TypeScript?
Let´s say we want to use ipcMain / ipcRenderer on our project to communicate from Angular to Electron and back. The Electron side look…
Design – Plan – Write
Let´s say we want to use ipcMain / ipcRenderer on our project to communicate from Angular to Electron and back. The Electron side look…
There are different ways to solve that, depending of the situation or what we want to achieve. Solution A :…
Let´s assume, we need to access some DOM variables like navigator and location. And we want to do that in…
Normally when we want to catch an event on a page in js: window.onkeydown = function (event) { //Do something…
You might have a situation where you need to display/bind HTML code into some DOM elements. Usually, there’s no problem…
In this setup guide we will learn how to use Prettier to take care of our code formatting and ESLint to take care of…
What’s the best code formatting library for JavaScript? When it comes to code formatting styles — developers often believe in…
From project to project, code formatting rules can vary significantly and it is not always easy to follow them exactly.…
TypeScript 2.9 introduced a new --resolveJsonModule compiler option that lets us import JSON modules from within TypeScript modules. #Importing JSON Modules via require Calls…
The Promise is an object that represents either completion or failure of a user task. A promise in JavaScript can be in…