electron/spec/fixtures/module/preload-pdf-loaded.js
2018-09-14 14:57:01 +10:00

5 lines
152 B
JavaScript

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