electron/spec/fixtures/api/new-window-webview-preload.js
2020-03-20 13:28:31 -07:00

3 lines
80 B
JavaScript

const { ipcRenderer } = require('electron');
window.ipcRenderer = ipcRenderer;