Last active
November 28, 2021 13:36
-
-
Save FrancescoBonizzi/da2a02dc307f0f0bf1b54e7591b8e449 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Simplest PDF viewer ever</title> | |
<link href="style.css" rel="stylesheet" /> | |
<script src="https://unpkg.com/pdfjs-dist@latest/build/pdf.min.js"></script> | |
</head> | |
<body> | |
<h1 style="display: none" id="error">An error occurred</h1> | |
<div id="loader" class="lds-ring"> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
</div> | |
<div id="pages-container"> | |
</div> | |
<script src="pdfViewer.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment