electron/spec/fixtures/module/preload-pdf-loaded.js
2017-06-28 12:57:05 -07:00

5 lines
151 B
JavaScript

const {ipcRenderer} = require('electron')
window.addEventListener('pdf-loaded', function (event) {
ipcRenderer.send('pdf-loaded', event.detail);
})