DEV Community

Dimitrios Desyllas
Dimitrios Desyllas

Posted on

A simplistic PDF reader

For my project's needs I needed a simplistic pdf reader that works on mobile browsers.

Hence I did that:

I used pdf.js and I render the whole pdf into a dynamically generated specified div. Then once I read it I render each page on a dedicated canvas element.

Once pdf is rendered then I hide a spinner and I show the pdf.

Top comments (0)