#How to start function in render.js if event in main.js happens?
3 messages · Page 1 of 1 (latest)
Use the ipcMain and ipcRenderer modules to communicate between Electron processes
Thanks, should I close the topic?
3 messages · Page 1 of 1 (latest)
For example.
main.js:
app.on('any event', () => {
// code
})
How do I start JS function in render.js when the event happens? Im really new in using electron.js, thanks.
Use the ipcMain and ipcRenderer modules to communicate between Electron processes
Thanks, should I close the topic?