Laur's blog
Sign in Subscribe

renderer

A collection of 1 post
Electron AppSend Menu Command to Angular App
command

Electron AppSend Menu Command to Angular App

TL;DR: In the main process use mainWindow.webContents.send('cmd') and in your Angular component (renderer process) bind it to a method with ipcRenderer.on('cmd', this.open.bind(this)) (where open() is a method). I need to make my angular app work when a
Dec 9, 2016 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost