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

4 lines
80 B
JavaScript
Raw Normal View History

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