webodf / ViewerJS

ViewerJS: Document Reader in JavaScript
http://viewerjs.org
1.94k stars 421 forks source link

Loading Indicator #256

Open LouisOh opened 6 years ago

LouisOh commented 6 years ago

Hi, how do i add a loading indicator when the pdf is still loading?

benyaminl commented 4 years ago

Any Update on Loading indicator?

UPDATE : see this (https://github.com/webodf/ViewerJS/issues/96#issuecomment-105753892), so in the end, we can just add a CSS with gif loading indicator like this

<style>
            #canvasContainer {background-image: url(images/load.gif)}
        </style>

This works for me to be honest image