Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function pdfWindow() {
- const { BrowserWindow } = require('electron').remote
- const PDFWindow = require('electron-pdf-window')
- const win = new BrowserWindow({ width: 800, height: 800 })
- PDFWindow.addSupport(win)
- win.loadURL('http://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf')
- }
Add Comment
Please, Sign In to add comment