electron/spec/fixtures/module/preload-pdf-loaded.js
Kevin Sawicki 506b354c1b 👕 Remove lint
2017-06-28 13:40:28 -07:00

5 lines
150 B
JavaScript

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