Introduction to events in Electron.js 12

- Andrés Cruz

En español
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

Desarrollo con Laravel, Django, Flask, CodeIgniter, HTML5, CSS3, MySQL, JavaScript, Vue, Android, iOS, Flutter

Andrés Cruz en Udemy

Acepto recibir anuncios de interes sobre este Blog.