electron/spec/fixtures/module/preload-pdf-loaded.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
155 B
JavaScript
Raw Normal View History

2018-09-13 16:10:51 +00:00
const { ipcRenderer } = require('electron');
2017-06-28 19:57:05 +00:00
window.addEventListener('pdf-loaded', function (event) {
2017-06-28 20:40:28 +00:00
ipcRenderer.send('pdf-loaded', event.detail);
2017-06-28 19:57:05 +00:00
});