check if web block has fully loaded

check if web block has fully loaded

  

Hi,

I have a web block using the PDF to HTML app to show ... a pdf.

I need to know in the screen when this pdf has fully loaded. Is there a way to send a message 'on notify' or similar to the parent when the pdf has fully loaded?

Hi Edwin,


Currently there's no mechanism for that. The pdf rendering is done by your browser so you'll have to find a way to check on your browser if the pdf has rendered.

I'm not aware of any way to do it though.


Cheers,

Guilherme

Can't you use some sort of lazyloading on the webblock?
https://www.outsystems.com/forge/component/495/how-to-lazy-load/

It will show a loading icon until the logic/webblock is fully loaded. Maybe you can make it work this way..

Greetings,

Niels