electron/spec/fixtures/api/new-window-webview-preload.js

4 lines
80 B
JavaScript
Raw Normal View History

2020-03-20 14:28:31 -06:00
const { ipcRenderer } = require('electron');
2020-03-20 14:28:31 -06:00
window.ipcRenderer = ipcRenderer;