exposeElectronAPI
method: A concise way to expose APIs in preload script- ipcRenderer: more APIs
- sendTo
- sendSync
- sendToHost
- postMessage
- removeAllListeners
- webFrame: more APIs
- setZoomFactor
- setZoomLevel
- process: more props
- env property
- preload: use wider range for peer deps
- expose
ipcRenderer
Electron APIs to the renderer process - expose
webFrame
Electron APIs to the renderer process - expose
process
Electron APIs to the renderer process