This content originally appeared on DEV Community and was authored by KoichiArai
What I did
- Learning IPC Communication Methods
I learned about IPC (Inter-Process Communication) methods today. However, I didn't fully understand how to use these methods. In addition to this, in the tutorial on IPC communication in Electron, I couldn't understand the code block below, especially the portion involving the object and arrow function.
contextBridge.exposeInMainWorld('electronAPI', {
setTitle: (title) => ipcRenderer.send('set-title', title)
})
I will solve these question tomorrow.
This content originally appeared on DEV Community and was authored by KoichiArai
KoichiArai | Sciencx (2024-07-23T15:36:02+00:00) Day 11 of 100DaysOfCode. Retrieved from https://www.scien.cx/2024/07/23/day-11-of-100daysofcode-2/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.