How to display whole PDF (not only one page) with PDF.JS?
PDFJS has a member variable numPages, so you’d just iterate through them. BUT it’s important to remember that getting a page in pdf.js is asynchronous, so the order wouldn’t be guaranteed. So you’d need to chain them. You could do something along these lines: var currPage = 1; //Pages are 1-based not 0-based var numPages … Read more