UNPKG

easypdf

Version:

A simple library that use PDF.js for rendering pdf file on electron

31 lines 633 B
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>EasyPDF</title> <style> body,html { padding: 0; margin: 0; } .pdf { width: 50%; height: 100%; position: fixed; } #pdf-remote { width: 50%; height: 100%; position: fixed; right: 0; } </style> </head> <body> <div class="pdf" id="pdf-local"></div> <div class="pdf" id="pdf-remote"></div> </body> <script src="local-remote-pdf.js"></script> </html>