Introduction to events in Electron.js 12

As in JavaScript, events are notifications that are executed at some point in the application's life cycle. In this opportunity, we are talking about events that are specific to the application and not events triggered by the user. In Electron, we have many types of events that we can use when closing the window, when loading the web page, when stopping the page loading and a long etc; It is important to note that all these events occur in the main process, since this is where the different web pages are loaded.

We have two types of events at Electron:

  1. Events that occur at the application level:
    1. https://www.electronjs.org/es/docs/latest/api/app
  2. Events that occur at the website level:
    1. https://www.electronjs.org/es/docs/latest/api/web-contents

Remember that the previous material is part of mi curso completo sobre Electron.js

- Andrés Cruz

En español
Andrés Cruz

Develop with Laravel, Django, Flask, CodeIgniter, HTML5, CSS3, MySQL, JavaScript, Vue, Android, iOS, Flutter

Andrés Cruz In Udemy

I agree to receive announcements of interest about this Blog.