6 lines
151 B
JavaScript
6 lines
151 B
JavaScript
|
const {ipcRenderer} = require('electron')
|
||
|
|
||
|
window.addEventListener('pdf-loaded', function (event) {
|
||
|
ipcRenderer.send('pdf-loaded', event.detail);
|
||
|
})
|